.class public Lcom/waiqin365/base/login/LoginMainActivity;
.super Lcom/waiqin365/base/login/a;

# interfaces
.implements Ljava/util/Observer;


# static fields
.field public static final IM_CONNECT_CONNECTTING:I = 0x135

.field public static final IM_CONNECT_ERROR:I = 0x133

.field public static final IM_CONNECT_SUCCEED:I = 0x134

.field public static final IM_LOGIN_ERROR:I = 0x131

.field public static final IM_LOGIN_SUCCEED:I = 0x132

.field public static final IM_RECEIVE_NEW_MESSAGE:I = 0x138

.field public static final IM_UPDATE_READ_PUSH:I = 0x137

.field private static final REQUEST_CODE_DELETE_MESSAGE:I = 0x12e

.field private static final REQUEST_CODE_RECONTECT:I = 0x130

.field private static final UPDATEGROUP_MESSAGE_RESULT_OK:I = 0x12d

.field private static final UPDATEGROUP_MESSAGE_RESULT_WRONG:I = 0x12c

.field public static final WIFIFILE_DOWN_END:I = 0xf

.field public static loginErrorInfo:Ljava/lang/String;


# instance fields
.field private ackMessageReceiver:Landroid/content/BroadcastReceiver;

.field private adapter:Lcom/waiqin365/lightapp/im/adapter/c;

.field private addPopupWindow:Landroid/widget/PopupWindow;

.field private approveStateTV:Landroid/widget/TextView;

.field private canSendMyAchieInfo:Z

.field private clickTextTv:Landroid/widget/TextView;

.field private cmdMessageReceiver:Landroid/content/BroadcastReceiver;

.field private companyTV:Landroid/widget/TextView;

.field private conversationList:Ljava/util/List;

.field private creator:Lcom/baoyz/swipemenulistview/c;

.field private customLoginMemuItems:Ljava/util/ArrayList;

.field private dailyCountTv:Landroid/widget/TextView;

.field private dragGridViewAdapter:Lcom/waiqin365/base/login/mainview/draggridview/a;

.field private dragReorderGridView:Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;

.field public errorItem:Landroid/widget/RelativeLayout;

.field public errorText:Landroid/widget/TextView;

.field private gpscancelImg:Landroid/widget/ImageView;

.field private handler:Landroid/os/Handler;

.field private hasGpsHint:Z

.field private hasLocTask:Z

.field private headIV:Landroid/widget/ImageView;

.field private hintTextTv:Landroid/widget/TextView;

.field private inputMethodManager:Landroid/view/inputmethod/InputMethodManager;

.field private isCampaignBar:Z

.field private isChatActivity:Z

.field private isConflict:Z

.field isDisConnected:Z

.field public isFirstLogin:Z

.field private isReceiveResult:Z

.field private isnotallowloc:Z

.field private item0:Ljava/util/ArrayList;

.field public iv_neterror:Landroid/widget/ImageView;

.field lightWallIV:Landroid/widget/ImageView;

.field lightWallPop:Landroid/widget/PopupWindow;

.field lightWallView:Landroid/view/View;

.field private listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

.field public loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

.field private lv_addgroup:Landroid/widget/ListView;

.field private mBroadcastReceiver:Landroid/content/BroadcastReceiver;

.field private mExitTime:J

.field private mainListViews:Ljava/util/List;

.field private mainVpAdapter:Lcom/waiqin365/base/login/a/a;

.field private menuPopupWindow:Landroid/widget/PopupWindow;

.field private menuView:Lcom/waiqin365/lightapp/im/widget/c;

.field private messageFromId:Ljava/lang/String;

.field moreView:Landroid/view/View;

.field private msgReceiver:Lcom/waiqin365/base/login/cr;

.field private myBitmap:Landroid/graphics/Bitmap;

.field private myConnectionListener:Lcom/waiqin365/base/login/cg;

.field myEMMessageListener:Lcom/hyphenate/EMMessageListener;

.field private myGroupChangeListener:Lcom/waiqin365/base/login/cj;

.field private nameTV:Landroid/widget/TextView;

.field private newstatusbar:Landroid/widget/RelativeLayout;

.field private notRegistIv:Landroid/widget/ImageView;

.field private offlineMessageReceiver:Landroid/content/BroadcastReceiver;

.field private paddingleft:I

.field private positionImg:Landroid/widget/ImageView;

.field private progressDialog:Lcom/waiqin365/compons/view/a;

.field private progressImg:Landroid/widget/ImageView;

.field private rank_rate:I

.field private ratingBar:Landroid/widget/RatingBar;

.field private softforbitRelative:Landroid/widget/LinearLayout;

.field private softforbitTv:Landroid/widget/TextView;

.field private statusbar:Landroid/widget/RelativeLayout;

.field private tempLocTask:Lcom/waiqin365/base/login/c/a;

.field private tvTaste:Landroid/widget/TextView;

.field public tv_reconnect:Landroid/widget/TextView;

.field private viewPager:Landroid/support/v4/view/ViewPager;

.field private vipIV:Landroid/widget/ImageView;

.field private visitCountTv:Landroid/widget/TextView;

.field private visitNumTv:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 4

    const/4 v3, 0x0

    const/4 v2, 0x1

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/base/login/a;-><init>()V

    iput-boolean v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isFirstLogin:Z

    new-instance v0, Lcom/waiqin365/base/login/at;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/login/at;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->myEMMessageListener:Lcom/hyphenate/EMMessageListener;

    iput-boolean v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isDisConnected:Z

    iput-boolean v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isConflict:Z

    iput-boolean v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hasLocTask:Z

    iput-boolean v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hasGpsHint:Z

    iput-boolean v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->canSendMyAchieInfo:Z

    iput-boolean v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isnotallowloc:Z

    iput-boolean v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isReceiveResult:Z

    iput-boolean v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isCampaignBar:Z

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->item0:Ljava/util/ArrayList;

    new-instance v0, Lcom/waiqin365/base/login/cg;

    invoke-direct {v0, p0, v3}, Lcom/waiqin365/base/login/cg;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;Lcom/waiqin365/base/login/at;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->myConnectionListener:Lcom/waiqin365/base/login/cg;

    new-instance v0, Lcom/waiqin365/base/login/cj;

    invoke-direct {v0, p0, v3}, Lcom/waiqin365/base/login/cj;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;Lcom/waiqin365/base/login/at;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->myGroupChangeListener:Lcom/waiqin365/base/login/cj;

    new-instance v0, Lcom/waiqin365/base/login/be;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/login/be;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;

    new-instance v0, Lcom/waiqin365/base/login/bp;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/login/bp;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->ackMessageReceiver:Landroid/content/BroadcastReceiver;

    new-instance v0, Lcom/waiqin365/base/login/by;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/login/by;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->offlineMessageReceiver:Landroid/content/BroadcastReceiver;

    new-instance v0, Lcom/waiqin365/base/login/bz;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/login/bz;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->cmdMessageReceiver:Landroid/content/BroadcastReceiver;

    return-void
.end method

.method static synthetic access$1000(Lcom/waiqin365/base/login/LoginMainActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isConflict:Z

    return v0
.end method

.method static synthetic access$1002(Lcom/waiqin365/base/login/LoginMainActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isConflict:Z

    return p1
.end method

.method static synthetic access$1100(Lcom/waiqin365/base/login/LoginMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->imLogin()V

    return-void
.end method

.method static synthetic access$1202(Lcom/waiqin365/base/login/LoginMainActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->canSendMyAchieInfo:Z

    return p1
.end method

.method static synthetic access$1300(Lcom/waiqin365/base/login/LoginMainActivity;Lcom/waiqin365/base/login/c/l;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/LoginMainActivity;->setMyAchieinfo(Lcom/waiqin365/base/login/c/l;)V

    return-void
.end method

.method static synthetic access$1400(Lcom/waiqin365/base/login/LoginMainActivity;Lcom/waiqin365/base/login/c/m;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/LoginMainActivity;->setMyWorkhardinfo(Lcom/waiqin365/base/login/c/m;)V

    return-void
.end method

.method static synthetic access$1500(Lcom/waiqin365/base/login/LoginMainActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hasLocTask:Z

    return v0
.end method

.method static synthetic access$1502(Lcom/waiqin365/base/login/LoginMainActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hasLocTask:Z

    return p1
.end method

.method static synthetic access$1600(Lcom/waiqin365/base/login/LoginMainActivity;Lcom/waiqin365/base/login/c/h;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/LoginMainActivity;->handleUpdate(Lcom/waiqin365/base/login/c/h;)V

    return-void
.end method

.method static synthetic access$1700(Lcom/waiqin365/base/login/LoginMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->showLightWall()V

    return-void
.end method

.method static synthetic access$1800(Lcom/waiqin365/base/login/LoginMainActivity;Lcom/waiqin365/base/login/c/c;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/LoginMainActivity;->saveBaseInfo(Lcom/waiqin365/base/login/c/c;)V

    return-void
.end method

.method static synthetic access$1900(Lcom/waiqin365/base/login/LoginMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->moreViewInit()V

    return-void
.end method

.method static synthetic access$200(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->headIV:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$2000(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$2100(Lcom/waiqin365/base/login/LoginMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->showConflictDialog()V

    return-void
.end method

.method static synthetic access$2200(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/support/v4/view/ViewPager;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->viewPager:Landroid/support/v4/view/ViewPager;

    return-object v0
.end method

.method static synthetic access$2300(Lcom/waiqin365/base/login/LoginMainActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isCampaignBar:Z

    return v0
.end method

.method static synthetic access$2302(Lcom/waiqin365/base/login/LoginMainActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isCampaignBar:Z

    return p1
.end method

.method static synthetic access$2400(Lcom/waiqin365/base/login/LoginMainActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$2500(Lcom/waiqin365/base/login/LoginMainActivity;)Lcom/waiqin365/lightapp/im/adapter/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->adapter:Lcom/waiqin365/lightapp/im/adapter/c;

    return-object v0
.end method

.method static synthetic access$2600(Lcom/waiqin365/base/login/LoginMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->sendExtParamRequest()V

    return-void
.end method

.method static synthetic access$2700(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->clickTextTv:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$2800(Lcom/waiqin365/base/login/LoginMainActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hasGpsHint:Z

    return v0
.end method

.method static synthetic access$2802(Lcom/waiqin365/base/login/LoginMainActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hasGpsHint:Z

    return p1
.end method

.method static synthetic access$2900(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$300(Lcom/waiqin365/base/login/LoginMainActivity;Landroid/view/View;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/LoginMainActivity;->getPic(Landroid/view/View;)V

    return-void
.end method

.method static synthetic access$3000(Lcom/waiqin365/base/login/LoginMainActivity;)Lcom/waiqin365/base/login/mainview/draggridview/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragGridViewAdapter:Lcom/waiqin365/base/login/mainview/draggridview/a;

    return-object v0
.end method

.method static synthetic access$3100(Lcom/waiqin365/base/login/LoginMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->sendShortmenuModifyReq()V

    return-void
.end method

.method static synthetic access$3200(Lcom/waiqin365/base/login/LoginMainActivity;)Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragReorderGridView:Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;

    return-object v0
.end method

.method static synthetic access$3300(Lcom/waiqin365/base/login/LoginMainActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/LoginMainActivity;->setChatUp(I)V

    return-void
.end method

.method static synthetic access$3400(Lcom/waiqin365/base/login/LoginMainActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/LoginMainActivity;->cancelChatUp(I)V

    return-void
.end method

.method static synthetic access$3500(Lcom/waiqin365/base/login/LoginMainActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/LoginMainActivity;->deleteChat(I)V

    return-void
.end method

.method static synthetic access$3600(Lcom/waiqin365/base/login/LoginMainActivity;)Lcom/baoyz/swipemenulistview/SwipeMenuListView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    return-object v0
.end method

.method static synthetic access$3700(Lcom/waiqin365/base/login/LoginMainActivity;Lcom/hyphenate/chat/EMConversation;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/LoginMainActivity;->toChatActivity(Lcom/hyphenate/chat/EMConversation;)V

    return-void
.end method

.method static synthetic access$3800(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/view/inputmethod/InputMethodManager;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->inputMethodManager:Landroid/view/inputmethod/InputMethodManager;

    return-object v0
.end method

.method static synthetic access$3900(Lcom/waiqin365/base/login/LoginMainActivity;Landroid/view/View;I)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/base/login/LoginMainActivity;->showMenuWindow(Landroid/view/View;I)V

    return-void
.end method

.method static synthetic access$4000(Lcom/waiqin365/base/login/LoginMainActivity;)Lcom/waiqin365/lightapp/im/widget/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    return-object v0
.end method

.method static synthetic access$402(Lcom/waiqin365/base/login/LoginMainActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isReceiveResult:Z

    return p1
.end method

.method static synthetic access$4100(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/widget/PopupWindow;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuPopupWindow:Landroid/widget/PopupWindow;

    return-object v0
.end method

.method static synthetic access$4200(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressImg:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$4300(Lcom/waiqin365/base/login/LoginMainActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->paddingleft:I

    return v0
.end method

.method static synthetic access$4500(Lcom/waiqin365/base/login/LoginMainActivity;Ljava/util/List;Z)Ljava/util/List;
    .locals 1

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/base/login/LoginMainActivity;->loadConversationsWithRecentChat(Ljava/util/List;Z)Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$4600(Lcom/waiqin365/base/login/LoginMainActivity;)Landroid/widget/PopupWindow;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->addPopupWindow:Landroid/widget/PopupWindow;

    return-object v0
.end method

.method static synthetic access$4700(Lcom/waiqin365/base/login/LoginMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->sendEsnCheck()V

    return-void
.end method

.method static synthetic access$4800(Lcom/waiqin365/base/login/LoginMainActivity;Lcom/waiqin365/lightapp/im/domain/i;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/LoginMainActivity;->notifyNewIviteMessage(Lcom/waiqin365/lightapp/im/domain/i;)V

    return-void
.end method

.method static synthetic access$500(Lcom/waiqin365/base/login/LoginMainActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isnotallowloc:Z

    return v0
.end method

.method static synthetic access$502(Lcom/waiqin365/base/login/LoginMainActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isnotallowloc:Z

    return p1
.end method

.method static synthetic access$600(Lcom/waiqin365/base/login/LoginMainActivity;)Lcom/waiqin365/base/login/c/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->tempLocTask:Lcom/waiqin365/base/login/c/a;

    return-object v0
.end method

.method static synthetic access$602(Lcom/waiqin365/base/login/LoginMainActivity;Lcom/waiqin365/base/login/c/a;)Lcom/waiqin365/base/login/c/a;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->tempLocTask:Lcom/waiqin365/base/login/c/a;

    return-object p1
.end method

.method static synthetic access$700(Lcom/waiqin365/base/login/LoginMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->handleSoftInfoShow()V

    return-void
.end method

.method static synthetic access$800(Lcom/waiqin365/base/login/LoginMainActivity;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/login/LoginMainActivity;->showConflictDialog(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$900(Lcom/waiqin365/base/login/LoginMainActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->dismissProgressDialog()V

    return-void
.end method

.method private cancelChatUp(I)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->adapter:Lcom/waiqin365/lightapp/im/adapter/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/c;->a()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/chat/EMConversation;

    invoke-static {p0}, Lcom/waiqin365/lightapp/im/utils/l;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/utils/l;

    move-result-object v1

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/im/utils/l;->c(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/im/utils/b;->a(Ljava/util/List;Landroid/content/Context;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->adapter:Lcom/waiqin365/lightapp/im/adapter/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/c;->notifyDataSetChanged()V

    return-void
.end method

.method private createTZGG(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;
    .locals 5

    const/4 v4, 0x0

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "tongzhigonggao_chatid"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    sget-object v2, Lcom/hyphenate/chat/EMConversation$EMConversationType;->Chat:Lcom/hyphenate/chat/EMConversation$EMConversationType;

    const/4 v3, 0x1

    invoke-virtual {v0, v1, v2, v3}, Lcom/hyphenate/chat/EMChatManager;->getConversation(Ljava/lang/String;Lcom/hyphenate/chat/EMConversation$EMConversationType;Z)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    sget-object v1, Lcom/hyphenate/chat/EMMessage$Type;->TXT:Lcom/hyphenate/chat/EMMessage$Type;

    invoke-static {v1}, Lcom/hyphenate/chat/EMMessage;->createReceiveMessage(Lcom/hyphenate/chat/EMMessage$Type;)Lcom/hyphenate/chat/EMMessage;

    move-result-object v1

    const-string/jumbo v2, "IMNOTICE_TONGZHIGONGGAO_LABEL_MAIN"

    invoke-virtual {v1, v2}, Lcom/hyphenate/chat/EMMessage;->setMsgId(Ljava/lang/String;)V

    const-wide/16 v2, -0x1

    invoke-virtual {v1, v2, v3}, Lcom/hyphenate/chat/EMMessage;->setMsgTime(J)V

    invoke-virtual {v1, v4}, Lcom/hyphenate/chat/EMMessage;->setUnread(Z)V

    invoke-virtual {v1, v4}, Lcom/hyphenate/chat/EMMessage;->setAcked(Z)V

    new-instance v2, Lcom/hyphenate/chat/EMTextMessageBody;

    const v3, 0x7f08059f

    invoke-virtual {p0, v3}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Lcom/hyphenate/chat/EMTextMessageBody;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v2}, Lcom/hyphenate/chat/EMMessage;->addBody(Lcom/hyphenate/chat/EMMessageBody;)V

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMConversation;->insertMessage(Lcom/hyphenate/chat/EMMessage;)V

    return-object v0
.end method

.method private createWQKF(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;
    .locals 5

    const/4 v4, 0x0

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    const-string/jumbo v1, "waiqin365kefu"

    sget-object v2, Lcom/hyphenate/chat/EMConversation$EMConversationType;->Chat:Lcom/hyphenate/chat/EMConversation$EMConversationType;

    const/4 v3, 0x1

    invoke-virtual {v0, v1, v2, v3}, Lcom/hyphenate/chat/EMChatManager;->getConversation(Ljava/lang/String;Lcom/hyphenate/chat/EMConversation$EMConversationType;Z)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    sget-object v1, Lcom/hyphenate/chat/EMMessage$Type;->TXT:Lcom/hyphenate/chat/EMMessage$Type;

    invoke-static {v1}, Lcom/hyphenate/chat/EMMessage;->createReceiveMessage(Lcom/hyphenate/chat/EMMessage$Type;)Lcom/hyphenate/chat/EMMessage;

    move-result-object v1

    const-string/jumbo v2, "IMNOTICE_KEFU_LABEL_MAIN"

    invoke-virtual {v1, v2}, Lcom/hyphenate/chat/EMMessage;->setMsgId(Ljava/lang/String;)V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Lcom/hyphenate/chat/EMMessage;->setMsgTime(J)V

    invoke-virtual {v1, v4}, Lcom/hyphenate/chat/EMMessage;->setUnread(Z)V

    invoke-virtual {v1, v4}, Lcom/hyphenate/chat/EMMessage;->setAcked(Z)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    invoke-virtual {v2, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v4

    invoke-virtual {v4, p0}, Lcom/waiqin365/base/login/mainview/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, "_"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/hyphenate/chat/EMMessage;->setTo(Ljava/lang/String;)V

    new-instance v2, Lcom/hyphenate/chat/EMTextMessageBody;

    const v3, 0x7f08074e

    invoke-virtual {p0, v3}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Lcom/hyphenate/chat/EMTextMessageBody;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v2}, Lcom/hyphenate/chat/EMMessage;->addBody(Lcom/hyphenate/chat/EMMessageBody;)V

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMConversation;->insertMessage(Lcom/hyphenate/chat/EMMessage;)V

    return-object v0
.end method

.method private deleteChat(I)V
    .locals 5

    const/4 v4, 0x1

    const-string/jumbo v0, ""

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->showProgressDialogWithMessage(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->adapter:Lcom/waiqin365/lightapp/im/adapter/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/c;->a()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/chat/EMConversation;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "xiaomishu_chatid"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v2

    const-string/jumbo v3, "1"

    invoke-virtual {v2, v3, v1}, Lcom/waiqin365/base/db/imnotice/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    :goto_0
    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v1

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v4}, Lcom/hyphenate/chat/EMChatManager;->deleteConversation(Ljava/lang/String;Z)Z

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->adapter:Lcom/waiqin365/lightapp/im/adapter/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/c;->notifyDataSetChanged()V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->updateUnreadLabel()V

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->dismissProgressDialog()V

    return-void

    :cond_1
    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "daibanrenwu_chatid"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v2

    const-string/jumbo v3, "2"

    invoke-virtual {v2, v3, v1}, Lcom/waiqin365/base/db/imnotice/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v1

    const-string/jumbo v2, "2"

    invoke-virtual {v1, v2, v4}, Lcom/hyphenate/chat/EMChatManager;->deleteConversation(Ljava/lang/String;Z)Z

    goto :goto_0

    :cond_2
    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "tongzhigonggao_chatid"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v2

    const-string/jumbo v3, "3"

    invoke-virtual {v2, v3, v1}, Lcom/waiqin365/base/db/imnotice/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_3
    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "wq365_chatid"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_4

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v2

    const-string/jumbo v3, "0"

    invoke-virtual {v2, v3, v1}, Lcom/waiqin365/base/db/imnotice/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_4
    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "waiqin365kefu"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_5

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    const-string/jumbo v2, "kefu_show"

    const/4 v3, 0x0

    invoke-static {v1, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;Z)V

    goto/16 :goto_0

    :cond_5
    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "managerhelp_chatid"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v2

    const-string/jumbo v3, "5"

    invoke-virtual {v2, v3, v1}, Lcom/waiqin365/base/db/imnotice/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0
.end method

.method private dismissProgressDialog()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->dismiss()V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    :cond_0
    return-void
.end method

.method private filterData(Ljava/lang/String;)V
    .locals 8

    const/4 v7, 0x1

    const/4 v6, -0x1

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->refresh()V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    const/4 v1, 0x0

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->loadConversationsWithRecentChat(Ljava/util/List;Z)Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->clear()V

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    :goto_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/chat/EMConversation;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->isGroup()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hyphenate/chat/EMClient;->groupManager()Lcom/hyphenate/chat/EMGroupManager;

    move-result-object v1

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/hyphenate/chat/EMGroupManager;->getGroup(Ljava/lang/String;)Lcom/hyphenate/chat/EMGroup;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hyphenate/chat/EMGroup;->getGroupName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v1

    if-eq v1, v6, :cond_1

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_2
    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, p0}, Lcom/waiqin365/lightapp/im/utils/e;->a(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v1, p0}, Lcom/waiqin365/lightapp/im/utils/e;->c(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    const-string/jumbo v1, ""

    const-string/jumbo v5, " "

    invoke-virtual {v4, v5}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v5

    array-length v5, v5

    if-le v5, v7, :cond_3

    const-string/jumbo v1, " "

    invoke-virtual {v4, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    aget-object v1, v1, v7

    :cond_3
    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v3

    if-ne v3, v6, :cond_4

    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v4, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_4

    invoke-virtual {p1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->adapter:Lcom/waiqin365/lightapp/im/adapter/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/c;->notifyDataSetChanged()V

    goto/16 :goto_0
.end method

.method private getEMConversationByFrom(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;
    .locals 1

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/hyphenate/chat/EMChatManager;->getConversation(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    return-object v0
.end method

.method private getPic(Landroid/view/View;)V
    .locals 3

    const-string/jumbo v0, "cuslogin_mydata_data_pic"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->headIV:Landroid/widget/ImageView;

    invoke-static {v1, v2, v0}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    return-void
.end method

.method private handleImEnable()V
    .locals 2

    const-string/jumbo v0, "0"

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->c(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMClient;->logout(Z)I

    :cond_0
    return-void
.end method

.method private handleLoginEvt()V
    .locals 9

    const/4 v8, 0x1

    const/high16 v7, 0x10000000

    const v6, 0x7f040022

    const v5, 0x7f040021

    const/4 v1, 0x0

    const-string/jumbo v0, "login_save_time"

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-static {p0, v0, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;J)V

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->handleImEnable()V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "showpushlist"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v2, 0x0

    const-string/jumbo v0, "2"

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    const-string/jumbo v4, "messageType"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    new-instance v0, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    const-class v3, Lcom/waiqin365/lightapp/im/activity/DaibanrenwuActivity;

    invoke-direct {v0, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {v0, v7}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    :goto_0
    if-eqz v0, :cond_0

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    :cond_0
    invoke-virtual {p0, v6, v5}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    :cond_1
    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isChatActivity:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->messageFromId:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getEMConversationByFrom(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->toChatActivity(Lcom/hyphenate/chat/EMConversation;)V

    :cond_2
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "noticemsgInfo"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/c/n;

    invoke-static {p0, v0}, Lcom/waiqin365/base/login/d/g;->a(Landroid/app/Activity;Lcom/waiqin365/base/login/c/n;)V

    invoke-static {p0}, Lcom/waiqin365/compons/c/d;->d(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "isfirst"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isFirstLogin:Z

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "isRegister"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isRegister:Z

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isRegister:Z

    if-eqz v0, :cond_9

    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/waiqin365/base/login/LoginSelectVersionActivity;

    invoke-direct {v0, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "phone"

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    const-string/jumbo v4, "registerUCode"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "code"

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    const-string/jumbo v4, "registerCpCode"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    const-string/jumbo v0, "showXMShint"

    invoke-static {v0}, Lcom/waiqin365/base/login/d/g;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v2, "true"

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "registerCpName"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const v2, 0x7f080877

    invoke-virtual {p0, v2}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->saveLocalMessage(Ljava/lang/String;)V

    :cond_3
    :goto_1
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "startkaoqin"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_b

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "menuid"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_4

    const-string/jumbo v1, "menuid"

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "menuid"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    :cond_4
    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v6, v5}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    :cond_5
    :goto_2
    new-instance v0, Ljava/util/Timer;

    invoke-direct {v0}, Ljava/util/Timer;-><init>()V

    new-instance v1, Lcom/waiqin365/base/login/av;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/av;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    const-wide/16 v2, 0x3e8

    invoke-virtual {v0, v1, v2, v3}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;J)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->updateUnreadMessage()V

    return-void

    :cond_6
    const-string/jumbo v0, "3"

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    const-string/jumbo v4, "messageType"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "tongzhigonggao_chatid"

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v3, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v3}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v3

    invoke-virtual {v3, v0}, Lcom/waiqin365/base/db/imnotice/f;->c(Ljava/lang/String;)Lcom/waiqin365/base/db/imnotice/e;

    move-result-object v0

    if-eqz v0, :cond_12

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->e()I

    move-result v0

    :goto_3
    iget-object v3, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v3, v0}, Lcom/waiqin365/base/login/d/g;->a(Landroid/content/Context;I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    sget-object v3, Lcom/waiqin365/lightapp/im/a;->j:Ljava/lang/String;

    invoke-virtual {v0, v8, v3}, Lcom/waiqin365/base/db/imnotice/f;->a(ZLjava/lang/String;)Z

    move-object v0, v2

    goto/16 :goto_0

    :cond_7
    const-string/jumbo v0, "5"

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "messageType"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    new-instance v0, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    const-class v3, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;

    invoke-direct {v0, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {v0, v7}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->updateALMessageReadStatus()V

    goto/16 :goto_0

    :cond_8
    new-instance v0, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    const-class v3, Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-direct {v0, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {v0, v7}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->updateXMSMessageReadStatus()V

    goto/16 :goto_0

    :cond_9
    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isFirstLogin:Z

    if-eqz v0, :cond_a

    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/waiqin365/base/login/LoginChangePassActivity;

    invoke-direct {v0, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "cuslogin_mydata_data_mobileBind"

    invoke-static {p0, v2, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v2

    const-string/jumbo v3, "isMobileBind"

    invoke-virtual {v0, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/16 v2, 0x1f40

    invoke-virtual {p0, v0, v2}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivityForResult(Landroid/content/Intent;I)V

    invoke-virtual {p0, v6, v5}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    const-string/jumbo v0, "showXMShint"

    invoke-static {v0}, Lcom/waiqin365/base/login/d/g;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v2, "true"

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    invoke-virtual {v2, p0}, Lcom/waiqin365/base/login/mainview/a;->o(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const v2, 0x7f080878

    invoke-virtual {p0, v2}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->saveLocalMessage(Ljava/lang/String;)V

    goto/16 :goto_1

    :cond_a
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "isNeedMofifyPwd"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string/jumbo v0, "true"

    const-string/jumbo v2, "showforgetpass"

    invoke-static {v2}, Lcom/waiqin365/base/login/d/g;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/waiqin365/base/login/fragment/activity/AccountSafeModifyPassActivity;

    invoke-direct {v0, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "isForce"

    invoke-virtual {v0, v2, v8}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v6, v5}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    goto/16 :goto_1

    :cond_b
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "startzydk"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_c

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/kaoqin/NewTGangKaoQinActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v6, v5}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    goto/16 :goto_2

    :cond_c
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "startdaily"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_d

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/dailyreport/AddReportsTypeListActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v6, v5}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    goto/16 :goto_2

    :cond_d
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "alivekaoqin"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_f

    const-string/jumbo v0, "alive_kaoqin"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/kaoqin/NotificationReceiver;->d(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_e

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v6, v5}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    goto/16 :goto_2

    :cond_e
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getTv_menu0()Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/TextView;->performClick()Z

    goto/16 :goto_2

    :cond_f
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "alivemessage"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_10

    const-string/jumbo v0, "alive_msg"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getTv_menu1()Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/TextView;->performClick()Z

    goto/16 :goto_2

    :cond_10
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "alivedaily"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_11

    const-string/jumbo v0, "alive_daily"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getTv_menu2()Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/TextView;->performClick()Z

    goto/16 :goto_2

    :cond_11
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "alivemore"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_5

    const-string/jumbo v0, "alive_more"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getTv_menu0()Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/TextView;->performClick()Z

    goto/16 :goto_2

    :cond_12
    move v0, v1

    goto/16 :goto_3
.end method

.method private handleSoftInfoShow()V
    .locals 6

    const v3, 0x7f080188

    const v5, 0x7f0200ef

    const/16 v2, 0x22

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->gpscancelImg:Landroid/widget/ImageView;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isCampaignBar:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "login_light_wall_tip_"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-static {v0, v1, v2}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->gpscancelImg:Landroid/widget/ImageView;

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v4, v4, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitTv:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isReceiveResult:Z

    if-eqz v0, :cond_7

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isnotallowloc:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitTv:Landroid/widget/TextView;

    const v1, 0x7f080186

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4, v4, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    goto :goto_0

    :cond_2
    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hasLocTask:Z

    if-eqz v0, :cond_3

    invoke-static {p0}, Lcom/waiqin365/compons/c/d;->b(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitTv:Landroid/widget/TextView;

    const v1, 0x7f080185

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    const v3, 0x7f0808b5

    invoke-virtual {p0, v3}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v4

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4, v4, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    goto :goto_0

    :cond_3
    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hasLocTask:Z

    if-eqz v0, :cond_4

    invoke-static {p0}, Lcom/waiqin365/compons/c/d;->c(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_4

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hasGpsHint:Z

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitTv:Landroid/widget/TextView;

    const v1, 0x7f080187

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4, v4, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->gpscancelImg:Landroid/widget/ImageView;

    const v1, 0x7f02016b

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0

    :cond_4
    const-string/jumbo v0, "cuslogin_mydata_data_mobileBind"

    invoke-static {p0, v0, v4}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-nez v0, :cond_6

    const-string/jumbo v0, "showauthmobile"

    invoke-static {v0}, Lcom/waiqin365/base/login/d/g;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "true"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    invoke-static {v2}, Lcom/fiberhome/gaea/client/d/k;->b(I)I

    move-result v1

    neg-int v1, v1

    invoke-virtual {v0, v4, v1, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    goto/16 :goto_0

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitTv:Landroid/widget/TextView;

    invoke-virtual {p0, v3}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4, v4, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    goto/16 :goto_0

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    invoke-static {v2}, Lcom/fiberhome/gaea/client/d/k;->b(I)I

    move-result v1

    neg-int v1, v1

    invoke-virtual {v0, v4, v1, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    goto/16 :goto_0

    :cond_7
    const-string/jumbo v0, "cuslogin_mydata_data_mobileBind"

    invoke-static {p0, v0, v4}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-nez v0, :cond_9

    const-string/jumbo v0, "showauthmobile"

    invoke-static {v0}, Lcom/waiqin365/base/login/d/g;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "true"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    invoke-static {v2}, Lcom/fiberhome/gaea/client/d/k;->b(I)I

    move-result v1

    neg-int v1, v1

    invoke-virtual {v0, v4, v1, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    goto/16 :goto_0

    :cond_8
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitTv:Landroid/widget/TextView;

    invoke-virtual {p0, v3}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4, v4, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    goto/16 :goto_0

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    invoke-static {v2}, Lcom/fiberhome/gaea/client/d/k;->b(I)I

    move-result v1

    neg-int v1, v1

    invoke-virtual {v0, v4, v1, v4, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    goto/16 :goto_0
.end method

.method private handleUpdate(Lcom/waiqin365/base/login/c/h;)V
    .locals 7

    const/4 v0, 0x1

    const/4 v1, 0x0

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v2

    iget-object v3, p1, Lcom/waiqin365/base/login/c/h;->h:Ljava/lang/String;

    iput-object v3, v2, Lcom/fiberhome/gaea/client/c/b;->r:Ljava/lang/String;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v2

    iget-object v3, p1, Lcom/waiqin365/base/login/c/h;->i:Ljava/lang/String;

    iput-object v3, v2, Lcom/fiberhome/gaea/client/c/b;->s:Ljava/lang/String;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v2

    iget-object v3, p1, Lcom/waiqin365/base/login/c/h;->d:Ljava/lang/String;

    iput-object v3, v2, Lcom/fiberhome/gaea/client/c/b;->t:Ljava/lang/String;

    iget-object v2, p1, Lcom/waiqin365/base/login/c/h;->b:Ljava/lang/String;

    if-eqz v2, :cond_1

    iget-object v2, p1, Lcom/waiqin365/base/login/c/h;->b:Ljava/lang/String;

    const-string/jumbo v3, "http"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1

    move v5, v0

    :goto_0
    iget-object v2, p1, Lcom/waiqin365/base/login/c/h;->f:Ljava/lang/String;

    if-eqz v2, :cond_2

    iget-object v2, p1, Lcom/waiqin365/base/login/c/h;->f:Ljava/lang/String;

    const-string/jumbo v3, "http"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    move v6, v0

    :goto_1
    if-nez v5, :cond_0

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/fiberhome/gaea/client/c/b;->f()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "data/cuslogindown"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "/"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "wifidown.apk"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    new-instance v2, Ljava/io/File;

    invoke-direct {v2, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {v2}, Ljava/io/File;->delete()Z

    :cond_0
    if-nez v5, :cond_3

    if-nez v6, :cond_3

    :goto_2
    return-void

    :cond_1
    move v5, v1

    goto :goto_0

    :cond_2
    move v6, v1

    goto :goto_1

    :cond_3
    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/e;->b(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_5

    if-eqz v5, :cond_5

    iget-boolean v0, p1, Lcom/waiqin365/base/login/c/h;->c:Z

    if-nez v0, :cond_5

    if-nez v6, :cond_5

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/fiberhome/gaea/client/c/b;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "data/cuslogindown"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "wifidown.apk"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_4

    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    const/16 v2, 0xf

    iput v2, v1, Landroid/os/Message;->what:I

    iput-object v0, v1, Landroid/os/Message;->obj:Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto :goto_2

    :cond_4
    new-instance v0, Lcom/waiqin365/base/login/b/a/ae;

    iget-object v1, p1, Lcom/waiqin365/base/login/c/h;->b:Ljava/lang/String;

    invoke-direct {v0, v1}, Lcom/waiqin365/base/login/b/a/ae;-><init>(Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/base/login/b/c;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v1}, Lcom/waiqin365/base/login/b/c;->start()V

    goto :goto_2

    :cond_5
    new-instance v3, Lcom/waiqin365/compons/view/a;

    invoke-direct {v3, p0}, Lcom/waiqin365/compons/view/a;-><init>(Landroid/content/Context;)V

    const-string/jumbo v0, ""

    invoke-virtual {v3, v0}, Lcom/waiqin365/compons/view/a;->a(Ljava/lang/String;)V

    invoke-virtual {v3, v1}, Lcom/waiqin365/compons/view/a;->a(Z)V

    invoke-static {}, Lcom/waiqin365/compons/b/b;->a()Lcom/waiqin365/compons/b/b;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    move-object v2, p0

    move-object v4, p1

    invoke-virtual/range {v0 .. v6}, Lcom/waiqin365/compons/b/b;->a(Landroid/os/Handler;Landroid/content/Context;Lcom/waiqin365/compons/view/a;Lcom/waiqin365/base/login/c/h;ZZ)Z

    goto/16 :goto_2
.end method

.method private imLogin()V
    .locals 4

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->logout()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    invoke-virtual {v2, p0}, Lcom/waiqin365/base/login/mainview/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "_"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v2

    new-instance v3, Lcom/waiqin365/base/login/br;

    invoke-direct {v3, p0, v0}, Lcom/waiqin365/base/login/br;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;Ljava/lang/String;)V

    invoke-virtual {v2, v0, v1, v3}, Lcom/hyphenate/chat/EMClient;->login(Ljava/lang/String;Ljava/lang/String;Lcom/hyphenate/EMCallBack;)V

    return-void
.end method

.method private initHandler()V
    .locals 1

    new-instance v0, Lcom/waiqin365/base/login/ca;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/login/ca;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    return-void
.end method

.method private loadConversationsWithRecentChat(Ljava/util/List;Z)Ljava/util/List;
    .locals 13

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v5

    const-string/jumbo v0, "im_first_init"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v6

    const-string/jumbo v0, "kefu_show"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v3

    :try_start_0
    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->p:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMChatManager;->getConversation(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->p:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/hyphenate/chat/EMChatManager;->deleteConversation(Ljava/lang/String;Z)Z

    :cond_0
    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->n:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMChatManager;->getConversation(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->n:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/hyphenate/chat/EMChatManager;->deleteConversation(Ljava/lang/String;Z)Z

    :cond_1
    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->o:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMChatManager;->getConversation(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->o:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/hyphenate/chat/EMChatManager;->deleteConversation(Ljava/lang/String;Z)Z

    :cond_2
    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->q:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMChatManager;->getConversation(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->q:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/hyphenate/chat/EMChatManager;->deleteConversation(Ljava/lang/String;Z)Z

    :cond_3
    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->r:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMChatManager;->getConversation(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    if-eqz v0, :cond_4

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->r:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/hyphenate/chat/EMChatManager;->deleteConversation(Ljava/lang/String;Z)Z

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->p:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/imnotice/f;->b(Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->o:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/imnotice/f;->b(Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->n:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/imnotice/f;->b(Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->q:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/imnotice/f;->b(Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->r:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/imnotice/f;->b(Ljava/lang/String;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    const/4 v0, 0x0

    :try_start_1
    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hyphenate/chat/EMChatManager;->getAllConversations()Ljava/util/Map;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    move-result-object v0

    :goto_1
    invoke-interface {p1}, Ljava/util/List;->clear()V

    new-instance v7, Ljava/util/ArrayList;

    invoke-direct {v7}, Ljava/util/ArrayList;-><init>()V

    const/4 v1, 0x1

    if-eqz v0, :cond_5

    invoke-interface {v0}, Ljava/util/Map;->size()I

    move-result v2

    if-lez v2, :cond_5

    invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_2
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/chat/EMConversation;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getAllMessages()Ljava/util/List;

    move-result-object v4

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-eqz v4, :cond_1c

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v7, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_1c

    const-string/jumbo v4, "waiqin365kefu"

    invoke-virtual {v0, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1c

    const/4 v1, 0x0

    move v0, v1

    :goto_3
    move v1, v0

    goto :goto_2

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0

    :catch_1
    move-exception v1

    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_1

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/utils/d;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/utils/d;

    move-result-object v0

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/im/utils/d;->a(Ljava/util/List;)Ljava/util/List;

    move-result-object v4

    if-eqz v4, :cond_7

    :try_start_2
    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_7

    const/4 v0, 0x0

    move v2, v0

    :goto_4
    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v0

    if-ge v2, v0, :cond_7

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->groupManager()Lcom/hyphenate/chat/EMGroupManager;

    move-result-object v8

    invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v8, v0}, Lcom/hyphenate/chat/EMGroupManager;->getGroup(Ljava/lang/String;)Lcom/hyphenate/chat/EMGroup;

    move-result-object v0

    if-eqz v0, :cond_6

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v8

    invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    sget-object v9, Lcom/hyphenate/chat/EMConversation$EMConversationType;->GroupChat:Lcom/hyphenate/chat/EMConversation$EMConversationType;

    const/4 v10, 0x1

    invoke-virtual {v8, v0, v9, v10}, Lcom/hyphenate/chat/EMChatManager;->getConversation(Ljava/lang/String;Lcom/hyphenate/chat/EMConversation$EMConversationType;Z)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :goto_5
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_4

    :cond_6
    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v8

    invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    sget-object v9, Lcom/hyphenate/chat/EMConversation$EMConversationType;->Chat:Lcom/hyphenate/chat/EMConversation$EMConversationType;

    const/4 v10, 0x1

    invoke-virtual {v8, v0, v9, v10}, Lcom/hyphenate/chat/EMChatManager;->getConversation(Ljava/lang/String;Lcom/hyphenate/chat/EMConversation$EMConversationType;Z)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2

    goto :goto_5

    :catch_2
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    :cond_7
    if-eqz v1, :cond_8

    if-eqz v3, :cond_8

    sget-object v0, Lcom/waiqin365/lightapp/im/a;->r:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->createWQKF(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_8
    invoke-static {p0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    const-string/jumbo v1, "3"

    invoke-virtual {v0, v1, v5}, Lcom/waiqin365/base/db/imnotice/f;->b(Ljava/lang/String;Ljava/lang/String;)Lcom/waiqin365/base/db/imnotice/e;

    move-result-object v0

    if-nez v0, :cond_f

    const/4 v0, 0x0

    move v1, v0

    :goto_6
    invoke-static {p0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    invoke-virtual {v0, v5}, Lcom/waiqin365/base/db/imnotice/f;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_16

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v8

    :cond_9
    :goto_7
    invoke-interface {v8}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_15

    invoke-interface {v8}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/imnotice/e;

    const/4 v3, 0x0

    :try_start_3
    const-string/jumbo v2, "2"

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->b()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_10

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->e()I

    move-result v2

    if-nez v2, :cond_10

    if-nez v6, :cond_10

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v2

    invoke-virtual {v2}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v2

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->a()Ljava/lang/String;

    move-result-object v4

    sget-object v9, Lcom/hyphenate/chat/EMConversation$EMConversationType;->Chat:Lcom/hyphenate/chat/EMConversation$EMConversationType;

    invoke-virtual {v2, v4, v9}, Lcom/hyphenate/chat/EMChatManager;->getConversation(Ljava/lang/String;Lcom/hyphenate/chat/EMConversation$EMConversationType;)Lcom/hyphenate/chat/EMConversation;
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_5

    move-result-object v2

    :goto_8
    move-object v4, v2

    :goto_9
    if-eqz v4, :cond_9

    invoke-virtual {v4}, Lcom/hyphenate/chat/EMConversation;->clear()V

    const-string/jumbo v2, "2"

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->b()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_a

    const-string/jumbo v2, "3"

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->b()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_11

    :cond_a
    invoke-static {p0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v2

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->a()Ljava/lang/String;

    move-result-object v3

    const/4 v9, 0x1

    invoke-virtual {v2, v3, v9}, Lcom/waiqin365/base/db/imnotice/f;->a(Ljava/lang/String;Z)Lcom/waiqin365/base/db/imnotice/g;

    move-result-object v2

    move-object v3, v2

    :goto_a
    if-eqz v3, :cond_14

    new-instance v2, Ljava/text/SimpleDateFormat;

    const-string/jumbo v9, "yyyy-MM-dd HH:mm:ss"

    invoke-direct {v2, v9}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    sget-object v9, Lcom/hyphenate/chat/EMMessage$Type;->TXT:Lcom/hyphenate/chat/EMMessage$Type;

    invoke-static {v9}, Lcom/hyphenate/chat/EMMessage;->createReceiveMessage(Lcom/hyphenate/chat/EMMessage$Type;)Lcom/hyphenate/chat/EMMessage;

    move-result-object v9

    invoke-virtual {v3}, Lcom/waiqin365/base/db/imnotice/g;->a()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Lcom/hyphenate/chat/EMMessage;->setMsgId(Ljava/lang/String;)V

    :try_start_4
    invoke-virtual {v3}, Lcom/waiqin365/base/db/imnotice/g;->k()Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v10

    if-nez v10, :cond_12

    const-string/jumbo v10, "1"

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->b()Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v10, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-nez v10, :cond_b

    const-string/jumbo v10, "2"

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->b()Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v10, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_12

    :cond_b
    invoke-virtual {v3}, Lcom/waiqin365/base/db/imnotice/g;->k()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v2, v10}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Date;->getTime()J

    move-result-wide v10

    invoke-virtual {v9, v10, v11}, Lcom/hyphenate/chat/EMMessage;->setMsgTime(J)V
    :try_end_4
    .catch Ljava/text/ParseException; {:try_start_4 .. :try_end_4} :catch_4

    :cond_c
    :goto_b
    const-string/jumbo v2, "1"

    invoke-virtual {v3}, Lcom/waiqin365/base/db/imnotice/g;->d()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v2, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_13

    const/4 v2, 0x0

    invoke-virtual {v9, v2}, Lcom/hyphenate/chat/EMMessage;->setUnread(Z)V

    :goto_c
    invoke-virtual {v3}, Lcom/waiqin365/base/db/imnotice/g;->l()Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lcom/hyphenate/chat/EMTextMessageBody;

    invoke-direct {v3, v2}, Lcom/hyphenate/chat/EMTextMessageBody;-><init>(Ljava/lang/String;)V

    invoke-virtual {v9, v3}, Lcom/hyphenate/chat/EMMessage;->addBody(Lcom/hyphenate/chat/EMMessageBody;)V

    invoke-virtual {v4, v9}, Lcom/hyphenate/chat/EMConversation;->insertMessage(Lcom/hyphenate/chat/EMMessage;)V

    :cond_d
    :goto_d
    const-string/jumbo v2, "2"

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->b()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_e

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->e()I

    move-result v0

    if-eqz v0, :cond_9

    :cond_e
    invoke-virtual {v4}, Lcom/hyphenate/chat/EMConversation;->getAllMessages()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_9

    invoke-virtual {v4}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v0

    invoke-interface {v7, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_9

    invoke-interface {p1, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_7

    :cond_f
    const/4 v0, 0x1

    move v1, v0

    goto/16 :goto_6

    :cond_10
    :try_start_5
    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v2

    invoke-virtual {v2}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v2

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->a()Ljava/lang/String;

    move-result-object v4

    sget-object v9, Lcom/hyphenate/chat/EMConversation$EMConversationType;->Chat:Lcom/hyphenate/chat/EMConversation$EMConversationType;

    const/4 v10, 0x1

    invoke-virtual {v2, v4, v9, v10}, Lcom/hyphenate/chat/EMChatManager;->getConversation(Ljava/lang/String;Lcom/hyphenate/chat/EMConversation$EMConversationType;Z)Lcom/hyphenate/chat/EMConversation;
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_5

    move-result-object v2

    :try_start_6
    const-string/jumbo v3, "im_first_init"

    const/4 v4, 0x0

    invoke-static {p0, v3, v4}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;Z)V
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_3

    goto/16 :goto_8

    :catch_3
    move-exception v3

    move-object v12, v3

    move-object v3, v2

    move-object v2, v12

    :goto_e
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    move-object v4, v3

    goto/16 :goto_9

    :cond_11
    invoke-static {p0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v2

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->a()Ljava/lang/String;

    move-result-object v3

    const/4 v9, 0x1

    invoke-virtual {v2, v3, v9}, Lcom/waiqin365/base/db/imnotice/f;->b(Ljava/lang/String;Z)Lcom/waiqin365/base/db/imnotice/g;

    move-result-object v2

    move-object v3, v2

    goto/16 :goto_a

    :cond_12
    :try_start_7
    invoke-virtual {v3}, Lcom/waiqin365/base/db/imnotice/g;->h()Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v10

    if-nez v10, :cond_c

    invoke-virtual {v3}, Lcom/waiqin365/base/db/imnotice/g;->h()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v2, v10}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Date;->getTime()J

    move-result-wide v10

    invoke-virtual {v9, v10, v11}, Lcom/hyphenate/chat/EMMessage;->setMsgTime(J)V
    :try_end_7
    .catch Ljava/text/ParseException; {:try_start_7 .. :try_end_7} :catch_4

    goto/16 :goto_b

    :catch_4
    move-exception v2

    invoke-virtual {v2}, Ljava/text/ParseException;->printStackTrace()V

    goto/16 :goto_b

    :cond_13
    const/4 v2, 0x1

    invoke-virtual {v9, v2}, Lcom/hyphenate/chat/EMMessage;->setUnread(Z)V

    goto/16 :goto_c

    :cond_14
    const-string/jumbo v2, "3"

    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->b()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_d

    invoke-direct {p0, v5}, Lcom/waiqin365/base/login/LoginMainActivity;->createTZGG(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;

    move-result-object v2

    invoke-interface {p1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_d

    :cond_15
    if-nez v1, :cond_16

    invoke-direct {p0, v5}, Lcom/waiqin365/base/login/LoginMainActivity;->createTZGG(Ljava/lang/String;)Lcom/hyphenate/chat/EMConversation;

    move-result-object v0

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_16
    if-eqz p2, :cond_17

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {p1, v0}, Lcom/waiqin365/lightapp/im/utils/b;->a(Ljava/util/List;Landroid/content/Context;)V

    :cond_17
    if-eqz p1, :cond_1b

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1b

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    const/4 v0, 0x0

    move v1, v0

    :goto_f
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_1a

    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/chat/EMConversation;

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "xiaomishu_chatid"

    invoke-virtual {v3, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_18

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "daibanrenwu_chatid"

    invoke-virtual {v3, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_18

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "tongzhigonggao_chatid"

    invoke-virtual {v3, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_18

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "wq365_chatid"

    invoke-virtual {v3, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_18

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "managerhelp_chatid"

    invoke-virtual {v3, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_19

    :cond_18
    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v3

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v4

    iget-object v5, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v4, v5}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_19

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_19
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_f

    :cond_1a
    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1b

    const/4 v0, 0x0

    :goto_10
    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_1b

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    invoke-interface {p1, v1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    add-int/lit8 v0, v0, 0x1

    goto :goto_10

    :cond_1b
    return-object p1

    :catch_5
    move-exception v2

    goto/16 :goto_e

    :cond_1c
    move v0, v1

    goto/16 :goto_3
.end method

.method private moreViewInit()V
    .locals 6

    const v5, 0x7f080023

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getLayoutInflater()Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f03018c

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->headIV:Landroid/widget/ImageView;

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0874

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->headIV:Landroid/widget/ImageView;

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->nameTV:Landroid/widget/TextView;

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0876

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->nameTV:Landroid/widget/TextView;

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->companyTV:Landroid/widget/TextView;

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0877

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->companyTV:Landroid/widget/TextView;

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->vipIV:Landroid/widget/ImageView;

    if-nez v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0878

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->vipIV:Landroid/widget/ImageView;

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0889

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->approveStateTV:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->headIV:Landroid/widget/ImageView;

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getPic(Landroid/view/View;)V

    const-string/jumbo v0, "cuslogin_mydata_data_name"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/base/login/mainview/a;->d()Z

    move-result v1

    if-eqz v1, :cond_6

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->nameTV:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "("

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {p0, v5}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ")"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v4, "("

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0, v5}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "#ff9008"

    invoke-static {v4}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v4

    invoke-static {v2, v3, v4}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    const-string/jumbo v1, "cuslogin_mydata_data_company"

    const-string/jumbo v2, ""

    invoke-static {p0, v1, v2}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    if-eqz v0, :cond_5

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->companyTV:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_5
    const-string/jumbo v0, "cuslogin_mydata_data_isvip"

    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->vipIV:Landroid/widget/ImageView;

    if-eqz v0, :cond_7

    const v0, 0x7f020268

    :goto_1
    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->setPhoneBind()V

    return-void

    :cond_6
    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->nameTV:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_7
    const v0, 0x7f02025e

    goto :goto_1
.end method

.method private notifyNewIviteMessage(Lcom/waiqin365/lightapp/im/domain/i;)V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->refresh()V

    return-void
.end method

.method private saveBaseInfo(Lcom/waiqin365/base/login/c/c;)V
    .locals 4

    if-eqz p1, :cond_0

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "cuslogin_mydata_data_name"

    iget-object v3, p1, Lcom/waiqin365/base/login/c/c;->a:Ljava/lang/String;

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "cuslogin_mydata_data_department"

    iget-object v3, p1, Lcom/waiqin365/base/login/c/c;->b:Ljava/lang/String;

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "cuslogin_mydata_data_company"

    iget-object v3, p1, Lcom/waiqin365/base/login/c/c;->h:Ljava/lang/String;

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "cuslogin_mydata_data_company_code"

    iget-object v3, p1, Lcom/waiqin365/base/login/c/c;->i:Ljava/lang/String;

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "cuslogin_mydata_data_mobileBind"

    iget-boolean v3, p1, Lcom/waiqin365/base/login/c/c;->j:Z

    invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/Boolean;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "cuslogin_mydata_data_mobile"

    iget-object v3, p1, Lcom/waiqin365/base/login/c/c;->f:Ljava/lang/String;

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "cuslogin_mydata_data_pic"

    iget-object v3, p1, Lcom/waiqin365/base/login/c/c;->g:Ljava/lang/String;

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "cuslogin_mydata_data_isvip"

    iget-boolean v3, p1, Lcom/waiqin365/base/login/c/c;->k:Z

    invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/Boolean;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "cuslogin_mydata_data_haschild"

    iget-boolean v3, p1, Lcom/waiqin365/base/login/c/c;->m:Z

    invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/Boolean;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    invoke-static {p0, v0}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/util/ArrayList;)V

    :cond_0
    return-void
.end method

.method private saveLocalMessage(Ljava/lang/String;)V
    .locals 8

    const-wide/16 v6, 0x0

    new-instance v4, Lcom/waiqin365/base/db/imnotice/g;

    invoke-direct {v4}, Lcom/waiqin365/base/db/imnotice/g;-><init>()V

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/d/k;->e()J

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v4, v0}, Lcom/waiqin365/base/db/imnotice/g;->a(Ljava/lang/String;)V

    sget-object v0, Lcom/waiqin365/lightapp/im/a;->h:Ljava/lang/String;

    invoke-virtual {v4, v0}, Lcom/waiqin365/base/db/imnotice/g;->c(Ljava/lang/String;)V

    const-string/jumbo v0, "0"

    invoke-virtual {v4, v0}, Lcom/waiqin365/base/db/imnotice/g;->d(Ljava/lang/String;)V

    const-string/jumbo v0, "1"

    invoke-virtual {v4, v0}, Lcom/waiqin365/base/db/imnotice/g;->e(Ljava/lang/String;)V

    invoke-static {v6, v7}, Lcom/fiberhome/gaea/client/d/k;->a(J)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v4, v0}, Lcom/waiqin365/base/db/imnotice/g;->h(Ljava/lang/String;)V

    invoke-static {v6, v7}, Lcom/fiberhome/gaea/client/d/k;->a(J)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v4, v0}, Lcom/waiqin365/base/db/imnotice/g;->k(Ljava/lang/String;)V

    invoke-virtual {v4, p1}, Lcom/waiqin365/base/db/imnotice/g;->l(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v4, v0}, Lcom/waiqin365/base/db/imnotice/g;->n(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->n()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/db/imnotice/f;->b(Ljava/lang/String;Ljava/lang/String;)Lcom/waiqin365/base/db/imnotice/e;

    move-result-object v0

    if-nez v0, :cond_0

    new-instance v3, Lcom/waiqin365/base/db/imnotice/e;

    invoke-direct {v3}, Lcom/waiqin365/base/db/imnotice/e;-><init>()V

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->n()Ljava/lang/String;

    sget-object v0, Lcom/waiqin365/lightapp/im/a;->n:Ljava/lang/String;

    const-string/jumbo v0, "xiaomishu xms"

    const-string/jumbo v0, "2"

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "daibanrenwu_chatid"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->n()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    sget-object v1, Lcom/waiqin365/lightapp/im/a;->o:Ljava/lang/String;

    const-string/jumbo v0, "daibangongzuo dbgz"

    :goto_0
    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->n()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Lcom/waiqin365/base/db/imnotice/e;->e(Ljava/lang/String;)V

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->e()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Lcom/waiqin365/base/db/imnotice/e;->b(Ljava/lang/String;)V

    invoke-virtual {v3, v2}, Lcom/waiqin365/base/db/imnotice/e;->a(Ljava/lang/String;)V

    invoke-virtual {v3, v1}, Lcom/waiqin365/base/db/imnotice/e;->c(Ljava/lang/String;)V

    invoke-virtual {v3, v0}, Lcom/waiqin365/base/db/imnotice/e;->d(Ljava/lang/String;)V

    move-object v0, v3

    :cond_0
    invoke-virtual {v0}, Lcom/waiqin365/base/db/imnotice/e;->e()I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/imnotice/e;->a(I)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Lcom/waiqin365/base/db/imnotice/e;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v4, v1}, Lcom/waiqin365/base/db/imnotice/f;->a(Lcom/waiqin365/base/db/imnotice/g;Z)Z

    :cond_1
    return-void

    :cond_2
    const-string/jumbo v0, "3"

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "tongzhigonggao_chatid"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->n()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    sget-object v1, Lcom/waiqin365/lightapp/im/a;->p:Ljava/lang/String;

    const-string/jumbo v0, "tongzhigonggao tzgg"

    goto :goto_0

    :cond_3
    const-string/jumbo v0, "0"

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "wq365_chatid"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->n()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    sget-object v1, Lcom/waiqin365/lightapp/im/a;->r:Ljava/lang/String;

    const-string/jumbo v0, "waiqin365tuandui wq365td"

    goto/16 :goto_0

    :cond_4
    const-string/jumbo v0, "5"

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "managerhelp_chatid"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->n()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    sget-object v1, Lcom/waiqin365/lightapp/im/a;->s:Ljava/lang/String;

    const-string/jumbo v0, "guanlizhushou glzs"

    goto/16 :goto_0

    :cond_5
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "xiaomishu_chatid"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v4}, Lcom/waiqin365/base/db/imnotice/g;->n()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    sget-object v1, Lcom/waiqin365/lightapp/im/a;->n:Ljava/lang/String;

    const-string/jumbo v0, "xiaomishu xms"

    goto/16 :goto_0
.end method

.method private saveModifyimg(Ljava/lang/String;)V
    .locals 4

    new-instance v0, Ljava/io/ByteArrayOutputStream;

    invoke-direct {v0}, Ljava/io/ByteArrayOutputStream;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->myBitmap:Landroid/graphics/Bitmap;

    sget-object v2, Landroid/graphics/Bitmap$CompressFormat;->JPEG:Landroid/graphics/Bitmap$CompressFormat;

    const/16 v3, 0x64

    invoke-virtual {v1, v2, v3, v0}, Landroid/graphics/Bitmap;->compress(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z

    new-instance v1, Ljava/io/File;

    invoke-direct {v1, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    :try_start_0
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-virtual {v1}, Ljava/io/File;->delete()Z

    invoke-virtual {v1}, Ljava/io/File;->createNewFile()Z

    :cond_0
    new-instance v2, Ljava/io/FileOutputStream;

    invoke-direct {v2, v1}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;)V

    invoke-virtual {v0}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/io/OutputStream;->write([B)V

    invoke-virtual {v2}, Ljava/io/OutputStream;->close()V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    goto :goto_0
.end method

.method private savePicToView()V
    .locals 6

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v0

    :try_start_0
    sget-object v1, Lcom/fiberhome/gaea/client/c/b;->b:Landroid/net/Uri;

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual/range {v0 .. v5}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    invoke-interface {v0}, Landroid/database/Cursor;->moveToFirst()Z

    if-eqz v0, :cond_0

    const/4 v1, 0x1

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    new-instance v0, Ljava/io/File;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-static {v0}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startPhotoZoom(Landroid/net/Uri;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method private sendAllAppRequest()V
    .locals 3

    new-instance v0, Lcom/waiqin365/base/login/b/a/u;

    invoke-direct {v0}, Lcom/waiqin365/base/login/b/a/u;-><init>()V

    new-instance v1, Lcom/waiqin365/base/login/b/c;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v1}, Lcom/waiqin365/base/login/b/c;->start()V

    return-void
.end method

.method private sendClientCheckRequest()V
    .locals 3

    new-instance v0, Lcom/waiqin365/base/login/b/a/g;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/waiqin365/base/login/b/a/g;-><init>(Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/base/login/b/c;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v1}, Lcom/waiqin365/base/login/b/c;->start()V

    return-void
.end method

.method private sendEsnCheck()V
    .locals 3

    new-instance v0, Lcom/waiqin365/base/login/b/a/e;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/fiberhome/gaea/client/c/b;->m()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/base/login/b/a/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/base/login/b/c;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v1}, Lcom/waiqin365/base/login/b/c;->start()V

    return-void
.end method

.method private sendExtParamRequest()V
    .locals 3

    new-instance v0, Lcom/waiqin365/base/login/b/a/h;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/waiqin365/base/login/b/a/h;-><init>(Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/base/login/b/c;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v1}, Lcom/waiqin365/base/login/b/c;->start()V

    return-void
.end method

.method private sendMyAchieInfoRequest()V
    .locals 3

    new-instance v0, Lcom/waiqin365/base/login/b/a/j;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/waiqin365/base/login/b/a/j;-><init>(Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/base/login/b/c;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v1}, Lcom/waiqin365/base/login/b/c;->start()V

    return-void
.end method

.method private sendMyWorkhardRequest()V
    .locals 3

    new-instance v0, Lcom/waiqin365/base/login/b/a/k;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/waiqin365/base/login/b/a/k;-><init>(Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/base/login/b/c;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v1}, Lcom/waiqin365/base/login/b/c;->start()V

    return-void
.end method

.method private sendOneSucMyAchieReq()V
    .locals 3

    const-string/jumbo v0, "login_save_date"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v1

    const/4 v2, 0x6

    invoke-virtual {v1, v2}, Ljava/util/Calendar;->get(I)I

    move-result v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v0, "0"

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->e(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->sendMyAchieInfoRequest()V

    :goto_0
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->canSendMyAchieInfo:Z

    :cond_0
    return-void

    :cond_1
    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->sendMyWorkhardRequest()V

    goto :goto_0
.end method

.method private sendShortmenuModifyReq()V
    .locals 3

    new-instance v0, Lcom/waiqin365/base/login/b/a/x;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    invoke-virtual {v2, p0}, Lcom/waiqin365/base/login/mainview/a;->q(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2, p0}, Lcom/fiberhome/gaea/client/d/c;->e(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/base/login/b/a/x;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/base/login/b/c;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v1}, Lcom/waiqin365/base/login/b/c;->start()V

    return-void
.end method

.method private setChatUp(I)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->adapter:Lcom/waiqin365/lightapp/im/adapter/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/c;->a()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/chat/EMConversation;

    invoke-static {p0}, Lcom/waiqin365/lightapp/im/utils/l;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/utils/l;

    move-result-object v1

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/im/utils/l;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/im/utils/b;->a(Ljava/util/List;Landroid/content/Context;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->adapter:Lcom/waiqin365/lightapp/im/adapter/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/c;->notifyDataSetChanged()V

    return-void
.end method

.method private setMyAchieinfo(Lcom/waiqin365/base/login/c/l;)V
    .locals 7

    const/4 v6, 0x0

    const/16 v2, 0x8

    const/16 v5, 0x4d

    const-string/jumbo v0, "showmyachieve"

    invoke-static {v0}, Lcom/waiqin365/base/login/d/g;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "false"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->statusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->newstatusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :goto_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "login_save_date"

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v3

    const/4 v4, 0x6

    invoke-virtual {v3, v4}, Ljava/util/Calendar;->get(I)I

    move-result v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "login_save_interval"

    iget-object v3, p1, Lcom/waiqin365/base/login/c/l;->e:Ljava/lang/String;

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    invoke-static {p0, v0}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/util/ArrayList;)V

    iget-object v0, p1, Lcom/waiqin365/base/login/c/l;->a:Ljava/lang/String;

    invoke-static {v0, v6}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->ratingBar:Landroid/widget/RatingBar;

    int-to-float v0, v0

    invoke-virtual {v1, v0}, Landroid/widget/RatingBar;->setRating(F)V

    const-string/jumbo v0, ""

    iget-object v1, p1, Lcom/waiqin365/base/login/c/l;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dailyCountTv:Landroid/widget/TextView;

    iget-object v1, p1, Lcom/waiqin365/base/login/c/l;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dailyCountTv:Landroid/widget/TextView;

    const/16 v1, 0xff

    const/16 v2, 0x84

    const/16 v3, 0x21

    invoke-static {v1, v2, v3}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_1
    const-string/jumbo v0, ""

    iget-object v1, p1, Lcom/waiqin365/base/login/c/l;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->visitNumTv:Landroid/widget/TextView;

    iget-object v1, p1, Lcom/waiqin365/base/login/c/l;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->visitNumTv:Landroid/widget/TextView;

    const/16 v1, 0x40

    const/16 v2, 0x8e

    const/16 v3, 0xc9

    invoke-static {v1, v2, v3}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_2
    const-string/jumbo v0, ""

    iget-object v1, p1, Lcom/waiqin365/base/login/c/l;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->visitCountTv:Landroid/widget/TextView;

    iget-object v1, p1, Lcom/waiqin365/base/login/c/l;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->visitCountTv:Landroid/widget/TextView;

    invoke-static {v5, v5, v5}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_3
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->statusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->newstatusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dailyCountTv:Landroid/widget/TextView;

    const-string/jumbo v1, "--"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dailyCountTv:Landroid/widget/TextView;

    invoke-static {v5, v5, v5}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->visitNumTv:Landroid/widget/TextView;

    const-string/jumbo v1, "--"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->visitNumTv:Landroid/widget/TextView;

    invoke-static {v5, v5, v5}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_2

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->visitCountTv:Landroid/widget/TextView;

    const-string/jumbo v1, "--"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->visitCountTv:Landroid/widget/TextView;

    invoke-static {v5, v5, v5}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_3
.end method

.method private setMyWorkhardinfo(Lcom/waiqin365/base/login/c/m;)V
    .locals 9

    const/4 v5, 0x4

    const/16 v2, 0x8

    const/4 v8, 0x2

    const/4 v7, 0x1

    const/4 v6, 0x0

    const-string/jumbo v0, "showmyachieve"

    invoke-static {v0}, Lcom/waiqin365/base/login/d/g;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "false"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->statusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->newstatusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :goto_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "login_save_date"

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v3

    const/4 v4, 0x6

    invoke-virtual {v3, v4}, Ljava/util/Calendar;->get(I)I

    move-result v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "login_save_interval"

    iget-object v3, p1, Lcom/waiqin365/base/login/c/m;->c:Ljava/lang/String;

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    invoke-static {p0, v0}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/util/ArrayList;)V

    iget v0, p1, Lcom/waiqin365/base/login/c/m;->b:I

    iput v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    iget v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    if-ltz v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->clickTextTv:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V

    const-wide/16 v2, 0x9c4

    const-string/jumbo v0, ""

    iget v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    const/16 v4, 0x14

    if-ge v1, v4, :cond_3

    const-wide/16 v2, 0x9c4

    const v0, 0x7f08067d

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v1, v8, [Ljava/lang/Object;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget v5, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v1, v6

    const-string/jumbo v4, "%"

    aput-object v4, v1, v7

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressImg:Landroid/widget/ImageView;

    const v4, 0x7f0202f2

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->positionImg:Landroid/widget/ImageView;

    const v4, 0x7f0202ec

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    :cond_0
    :goto_1
    iget v1, p1, Lcom/waiqin365/base/login/c/m;->b:I

    if-nez v1, :cond_1

    iget v0, p1, Lcom/waiqin365/base/login/c/m;->d:I

    if-ne v0, v7, :cond_7

    const v0, 0x7f080682

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :cond_1
    :goto_2
    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hintTextTv:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    sget v0, Lcom/fiberhome/gaea/client/c/b;->g:I

    const/16 v1, 0x28

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->c(I)I

    move-result v1

    sub-int/2addr v0, v1

    iget v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    mul-int/2addr v0, v1

    div-int/lit8 v0, v0, 0x64

    iput v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->paddingleft:I

    new-array v0, v8, [I

    aput v6, v0, v6

    iget v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->paddingleft:I

    aput v1, v0, v7

    invoke-static {v0}, Landroid/animation/ValueAnimator;->ofInt([I)Landroid/animation/ValueAnimator;

    move-result-object v0

    invoke-virtual {v0, v2, v3}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    new-instance v1, Lcom/waiqin365/base/login/bq;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/bq;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    new-instance v1, Landroid/view/animation/LinearInterpolator;

    invoke-direct {v1}, Landroid/view/animation/LinearInterpolator;-><init>()V

    invoke-virtual {v0, v1}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    invoke-virtual {v0}, Landroid/animation/ValueAnimator;->start()V

    :goto_3
    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->statusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->newstatusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_3
    iget v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    const/16 v4, 0x28

    if-ge v1, v4, :cond_4

    const-wide/16 v2, 0x7d0

    const v0, 0x7f08067e

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v1, v8, [Ljava/lang/Object;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget v5, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v1, v6

    const-string/jumbo v4, "%"

    aput-object v4, v1, v7

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressImg:Landroid/widget/ImageView;

    const v4, 0x7f0202f3

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->positionImg:Landroid/widget/ImageView;

    const v4, 0x7f0202ed

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto/16 :goto_1

    :cond_4
    iget v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    const/16 v4, 0x3c

    if-ge v1, v4, :cond_5

    const-wide/16 v2, 0x5dc

    const v0, 0x7f08067f

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v1, v8, [Ljava/lang/Object;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget v5, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v1, v6

    const-string/jumbo v4, "%"

    aput-object v4, v1, v7

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressImg:Landroid/widget/ImageView;

    const v4, 0x7f0202f4

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->positionImg:Landroid/widget/ImageView;

    const v4, 0x7f0202ee

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto/16 :goto_1

    :cond_5
    iget v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    const/16 v4, 0x50

    if-ge v1, v4, :cond_6

    const-wide/16 v2, 0x3e8

    const v0, 0x7f080680

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v1, v8, [Ljava/lang/Object;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget v5, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v1, v6

    const-string/jumbo v4, "%"

    aput-object v4, v1, v7

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressImg:Landroid/widget/ImageView;

    const v4, 0x7f0202f5

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->positionImg:Landroid/widget/ImageView;

    const v4, 0x7f0202ef

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto/16 :goto_1

    :cond_6
    iget v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    const/16 v4, 0x64

    if-gt v1, v4, :cond_0

    const-wide/16 v2, 0x3e8

    const v0, 0x7f080681

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v1, v8, [Ljava/lang/Object;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget v5, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v1, v6

    const-string/jumbo v4, "%"

    aput-object v4, v1, v7

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressImg:Landroid/widget/ImageView;

    const v4, 0x7f0202f6

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->positionImg:Landroid/widget/ImageView;

    const v4, 0x7f0202f0

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto/16 :goto_1

    :cond_7
    const v0, 0x7f080683

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_2

    :cond_8
    iget v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->rank_rate:I

    const/4 v1, -0x2

    if-ne v0, v1, :cond_9

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hintTextTv:Landroid/widget/TextView;

    const v1, 0x7f080684

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_4
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->positionImg:Landroid/widget/ImageView;

    const v1, 0x7f0202eb

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->clickTextTv:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_3

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hintTextTv:Landroid/widget/TextView;

    const v1, 0x7f080685

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_4
.end method

.method private setPhoneBind()V
    .locals 7

    const/16 v3, 0x8

    const/4 v1, 0x1

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getLayoutInflater()Landroid/view/LayoutInflater;

    move-result-object v0

    const v4, 0x7f03018c

    const/4 v5, 0x0

    invoke-virtual {v0, v4, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    :cond_0
    const-string/jumbo v0, "cuslogin_mydata_data_mobileBind"

    invoke-static {p0, v0, v2}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v4

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->approveStateTV:Landroid/widget/TextView;

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v5, 0x7f0c0889

    invoke-virtual {v0, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->approveStateTV:Landroid/widget/TextView;

    :cond_1
    iget-object v5, p0, Lcom/waiqin365/base/login/LoginMainActivity;->approveStateTV:Landroid/widget/TextView;

    if-eqz v4, :cond_3

    const v0, 0x7f080156

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_0
    invoke-virtual {v5, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v5, 0x7f0c088a

    invoke-virtual {v0, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    if-eqz v4, :cond_4

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    :goto_1
    iget-object v5, p0, Lcom/waiqin365/base/login/LoginMainActivity;->approveStateTV:Landroid/widget/TextView;

    if-eqz v4, :cond_5

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v6, 0x7f0b0019

    invoke-virtual {v0, v6}, Landroid/content/res/Resources;->getColor(I)I

    move-result v0

    :goto_2
    invoke-virtual {v5, v0}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/login/mainview/a;->c()Z

    move-result v0

    if-eqz v0, :cond_6

    const-string/jumbo v0, "functionTaste"

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_6

    move v0, v1

    :goto_3
    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->notRegistIv:Landroid/widget/ImageView;

    if-eqz v4, :cond_2

    if-nez v0, :cond_2

    move v2, v3

    :cond_2
    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    return-void

    :cond_3
    const v0, 0x7f080198

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_4
    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_1

    :cond_5
    const/high16 v0, -0x10000

    goto :goto_2

    :cond_6
    move v0, v2

    goto :goto_3
.end method

.method private setPicToView(Landroid/content/Intent;)V
    .locals 4

    invoke-virtual {p1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    const-string/jumbo v1, "data"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object v0

    check-cast v0, Landroid/graphics/Bitmap;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->myBitmap:Landroid/graphics/Bitmap;

    const-string/jumbo v0, "%s%s"

    const/4 v1, 0x2

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    sget-object v3, Lcom/fiberhome/gaea/client/b/a/a;->g:Ljava/lang/String;

    aput-object v3, v1, v2

    const/4 v2, 0x1

    const-string/jumbo v3, "cuslogin_mydata_icon_temp.jpg"

    aput-object v3, v1, v2

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->saveModifyimg(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    const/16 v1, 0x7d2

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    return-void
.end method

.method private setUpIM()V
    .locals 2

    :try_start_0
    new-instance v0, Lcom/waiqin365/base/login/cr;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/base/login/cr;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;Lcom/waiqin365/base/login/at;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->msgReceiver:Lcom/waiqin365/base/login/cr;

    new-instance v0, Landroid/content/IntentFilter;

    const-string/jumbo v1, "com.em.receiver.newmessage"

    invoke-direct {v0, v1}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->setPriority(I)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->msgReceiver:Lcom/waiqin365/base/login/cr;

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    new-instance v0, Landroid/content/IntentFilter;

    const-string/jumbo v1, "com.em.receiver.ackmessage"

    invoke-direct {v0, v1}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->setPriority(I)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->ackMessageReceiver:Landroid/content/BroadcastReceiver;

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    new-instance v0, Landroid/content/IntentFilter;

    const-string/jumbo v1, "com.em.receiver.offlinemessage"

    invoke-direct {v0, v1}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->offlineMessageReceiver:Landroid/content/BroadcastReceiver;

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    new-instance v0, Landroid/content/IntentFilter;

    const-string/jumbo v1, "com.em.receiver.cmdmessage"

    invoke-direct {v0, v1}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->cmdMessageReceiver:Landroid/content/BroadcastReceiver;

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->myConnectionListener:Lcom/waiqin365/base/login/cg;

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMClient;->addConnectionListener(Lcom/hyphenate/EMConnectionListener;)V

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->myEMMessageListener:Lcom/hyphenate/EMMessageListener;

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMChatManager;->addMessageListener(Lcom/hyphenate/EMMessageListener;)V

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->groupManager()Lcom/hyphenate/chat/EMGroupManager;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->myGroupChangeListener:Lcom/waiqin365/base/login/cj;

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMGroupManager;->addGroupChangeListener(Lcom/hyphenate/EMGroupChangeListener;)V

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->groupManager()Lcom/hyphenate/chat/EMGroupManager;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMGroupManager;->setAutoAcceptInvitation(Z)V

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->imLogin()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method private showAddWindow(Landroid/view/View;Ljava/util/ArrayList;)V
    .locals 5

    const/4 v4, -0x2

    const/4 v3, 0x1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->addPopupWindow:Landroid/widget/PopupWindow;

    if-nez v0, :cond_0

    const-string/jumbo v0, "layout_inflater"

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f030032

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f0c0191

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->lv_addgroup:Landroid/widget/ListView;

    sget-object v0, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    sget-object v2, Lcom/fiberhome/gaea/client/c/b;->d:Ljava/util/Locale;

    invoke-virtual {v0, v2}, Ljava/util/Locale;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    new-instance v0, Landroid/widget/PopupWindow;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/fiberhome/gaea/client/c/b;->i()I

    move-result v2

    div-int/lit8 v2, v2, 0x5

    mul-int/lit8 v2, v2, 0x4

    invoke-direct {v0, v1, v2, v4}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->addPopupWindow:Landroid/widget/PopupWindow;

    :cond_0
    :goto_0
    new-instance v0, Lcom/waiqin365/lightapp/im/adapter/a;

    invoke-direct {v0, p0, p2}, Lcom/waiqin365/lightapp/im/adapter/a;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->lv_addgroup:Landroid/widget/ListView;

    invoke-virtual {v1, v0}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->addPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v3}, Landroid/widget/PopupWindow;->setFocusable(Z)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->addPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v3}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->addPopupWindow:Landroid/widget/PopupWindow;

    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>()V

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->addPopupWindow:Landroid/widget/PopupWindow;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->addPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v1}, Landroid/widget/PopupWindow;->getWidth()I

    move-result v1

    invoke-virtual {p1}, Landroid/view/View;->getWidth()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    sub-int/2addr v1, v2

    const/high16 v2, 0x41700000    # 15.0f

    invoke-static {p0, v2}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v2

    sub-int/2addr v1, v2

    neg-int v1, v1

    const/high16 v2, 0x41200000    # 10.0f

    invoke-static {p0, v2}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v2

    neg-int v2, v2

    invoke-virtual {v0, p1, v1, v2}, Landroid/widget/PopupWindow;->showAsDropDown(Landroid/view/View;II)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->lv_addgroup:Landroid/widget/ListView;

    new-instance v1, Lcom/waiqin365/base/login/bw;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/bw;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->lv_addgroup:Landroid/widget/ListView;

    new-instance v1, Lcom/waiqin365/base/login/bx;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/bx;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    return-void

    :cond_1
    new-instance v0, Landroid/widget/PopupWindow;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/fiberhome/gaea/client/c/b;->i()I

    move-result v2

    div-int/lit8 v2, v2, 0x5

    mul-int/lit8 v2, v2, 0x2

    invoke-direct {v0, v1, v2, v4}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->addPopupWindow:Landroid/widget/PopupWindow;

    goto :goto_0
.end method

.method private showConflictDialog()V
    .locals 1

    const v0, 0x7f08060f

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->showConflictDialog(Ljava/lang/String;)V

    return-void
.end method

.method private showConflictDialog(Ljava/lang/String;)V
    .locals 5

    const/4 v4, 0x1

    const/4 v3, 0x0

    sput-boolean v3, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b:Z

    iput-boolean v4, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isConflict:Z

    const-string/jumbo v0, "_loginPassword"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/im/activity/AlertDialog;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "title"

    const v2, 0x7f080524

    invoke-virtual {p0, v2}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "isCancelable"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "exitLogin"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "msg"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method private showLightWall()V
    .locals 6

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v2, "params.screenWeight"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v4

    invoke-virtual {v4}, Lcom/fiberhome/gaea/client/c/b;->i()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-interface {v1, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "params.screenHeight"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v4

    invoke-virtual {v4}, Lcom/fiberhome/gaea/client/c/b;->j()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-interface {v1, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "params.tenantId"

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/login/mainview/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-interface {v1, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/fiberhome/gaea/client/c/b;->n()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "params.clientId"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v5, "gaeaclient-android-"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/fiberhome/gaea/client/c/b;->r()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "params.clientVer"

    invoke-interface {v1, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v2, Lcom/waiqin365/base/login/b/a/p;

    invoke-direct {v2, v0, v1}, Lcom/waiqin365/base/login/b/a/p;-><init>(Ljava/lang/String;Ljava/util/Map;)V

    new-instance v0, Lcom/waiqin365/base/login/b/c;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v0}, Lcom/waiqin365/base/login/b/c;->start()V

    return-void
.end method

.method private showMenuWindow(Landroid/view/View;I)V
    .locals 5

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/chat/EMConversation;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuPopupWindow:Landroid/widget/PopupWindow;

    if-nez v1, :cond_0

    new-instance v1, Lcom/waiqin365/lightapp/im/widget/c;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/widget/c;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    new-instance v1, Landroid/widget/PopupWindow;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/im/widget/c;->a()Landroid/view/View;

    move-result-object v2

    const/4 v3, -0x1

    const/4 v4, -0x1

    invoke-direct {v1, v2, v3, v4}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuPopupWindow:Landroid/widget/PopupWindow;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuPopupWindow:Landroid/widget/PopupWindow;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Landroid/widget/PopupWindow;->setFocusable(Z)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuPopupWindow:Landroid/widget/PopupWindow;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuPopupWindow:Landroid/widget/PopupWindow;

    new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v2}, Landroid/graphics/drawable/BitmapDrawable;-><init>()V

    invoke-virtual {v1, v2}, Landroid/widget/PopupWindow;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    new-instance v2, Lcom/waiqin365/base/login/bm;

    invoke-direct {v2, p0}, Lcom/waiqin365/base/login/bm;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/im/widget/c;->a(Landroid/view/View$OnClickListener;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    new-instance v2, Lcom/waiqin365/base/login/bn;

    invoke-direct {v2, p0}, Lcom/waiqin365/base/login/bn;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/im/widget/c;->b(Landroid/view/View$OnClickListener;)V

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    invoke-virtual {v1, p2}, Lcom/waiqin365/lightapp/im/widget/c;->a(I)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/im/widget/c;->a(Lcom/hyphenate/chat/EMConversation;)V

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_1

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v1

    :goto_0
    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->isGroup()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v2

    invoke-virtual {v2}, Lcom/hyphenate/chat/EMClient;->groupManager()Lcom/hyphenate/chat/EMGroupManager;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/hyphenate/chat/EMGroupManager;->getGroup(Ljava/lang/String;)Lcom/hyphenate/chat/EMGroup;

    move-result-object v2

    invoke-virtual {v2}, Lcom/hyphenate/chat/EMGroup;->getGroupName()Ljava/lang/String;

    move-result-object v2

    const v3, 0x10003

    invoke-virtual {v0, v2, v3}, Lcom/waiqin365/lightapp/im/widget/c;->a(Ljava/lang/String;I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/utils/l;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/utils/l;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/im/utils/l;->d(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->d:Ljava/lang/String;

    const v3, 0x10001

    invoke-virtual {v0, v2, v3}, Lcom/waiqin365/lightapp/im/widget/c;->a(Ljava/lang/String;I)V

    :goto_2
    const-string/jumbo v0, "tongzhigonggao_chatid"

    invoke-virtual {v1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/widget/c;->b()V

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuPopupWindow:Landroid/widget/PopupWindow;

    const/16 v1, 0x11

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-virtual {v0, p1, v1, v2, v3}, Landroid/widget/PopupWindow;->showAtLocation(Landroid/view/View;III)V

    :goto_4
    return-void

    :cond_1
    const v1, 0x7f08040d

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    invoke-static {v1, p0}, Lcom/waiqin365/lightapp/im/utils/e;->a(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    const v3, 0x10003

    invoke-virtual {v0, v2, v3}, Lcom/waiqin365/lightapp/im/widget/c;->a(Ljava/lang/String;I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_4

    :cond_3
    :try_start_1
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->c:Ljava/lang/String;

    const v3, 0x10001

    invoke-virtual {v0, v2, v3}, Lcom/waiqin365/lightapp/im/widget/c;->a(Ljava/lang/String;I)V

    goto :goto_2

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/widget/c;->c()V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuView:Lcom/waiqin365/lightapp/im/widget/c;

    sget-object v1, Lcom/waiqin365/lightapp/im/a;->e:Ljava/lang/String;

    const v2, 0x10002

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/im/widget/c;->a(Ljava/lang/String;I)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_3
.end method

.method private showProgressDialog()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/compons/view/a;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/view/a;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/a;->a(Z)V

    :cond_1
    return-void
.end method

.method private showProgressDialogWithMessage(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/compons/view/a;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/view/a;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0, p1}, Lcom/waiqin365/compons/view/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/a;->a(Z)V

    :cond_1
    return-void
.end method

.method private toChatActivity(Lcom/hyphenate/chat/EMConversation;)V
    .locals 8

    const/4 v7, 0x1

    if-nez p1, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p1}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v3

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->c()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const v0, 0x7f080073

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_1
    new-instance v4, Landroid/content/Intent;

    const-class v0, Lcom/waiqin365/lightapp/im/activity/ChatActivity;

    invoke-direct {v4, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p1}, Lcom/hyphenate/chat/EMConversation;->isGroup()Z

    move-result v0

    if-eqz v0, :cond_2

    const-string/jumbo v0, "chatType"

    const/4 v1, 0x2

    invoke-virtual {v4, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v0, "groupId"

    invoke-virtual {v4, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    :goto_1
    invoke-virtual {p0, v4}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    goto :goto_0

    :cond_2
    const-string/jumbo v0, "toChatUsername"

    invoke-virtual {v4, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "_"

    invoke-virtual {v3, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v5

    const-string/jumbo v0, ""

    const-string/jumbo v2, ""

    const-string/jumbo v1, ""

    const-string/jumbo v0, ""

    array-length v6, v5

    if-le v6, v7, :cond_3

    aget-object v2, v5, v7

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/offlinedata/m;->e(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/offlinedata/m;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/offlinedata/m;->h(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :cond_3
    const-string/jumbo v5, "userName"

    invoke-virtual {v4, v5, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v3, "pic_url"

    invoke-virtual {v4, v3, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "userId"

    invoke-virtual {v4, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "imflag"

    invoke-virtual {v4, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_1
.end method

.method private updateALMessageReadStatus()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    sget-object v1, Lcom/waiqin365/lightapp/im/a;->m:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/imnotice/f;->f(Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    const/4 v1, 0x1

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->m:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/db/imnotice/f;->a(ZLjava/lang/String;)Z

    goto :goto_0
.end method

.method private updateXMSMessageReadStatus()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    sget-object v1, Lcom/waiqin365/lightapp/im/a;->h:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/imnotice/f;->f(Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    const/4 v1, 0x1

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->h:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/db/imnotice/f;->a(ZLjava/lang/String;)Z

    goto :goto_0
.end method


# virtual methods
.method protected addImageClick(Landroid/view/View;)V
    .locals 3

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0802ec

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0802fd

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const v1, 0x7f08074f

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    invoke-direct {p0, p1, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->showAddWindow(Landroid/view/View;Ljava/util/ArrayList;)V

    const-string/jumbo v0, "5000"

    invoke-static {p0, v0}, Lcom/waiqin365/base/login/d/g;->a(Landroid/content/Context;Ljava/lang/String;)V

    return-void
.end method

.method protected addScanClick(Landroid/view/View;)V
    .locals 2

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/base/qr/LoginCaptureActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    return-void
.end method

.method protected dailyAdd()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->g()V

    :cond_0
    return-void
.end method

.method public dailyCommentEnd()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/at;->a(Z)V

    :cond_0
    return-void
.end method

.method protected dailyRefresh()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/at;->a(Z)V

    :cond_0
    return-void
.end method

.method protected dailySearch()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->f()V

    :cond_0
    return-void
.end method

.method public dailySelectBack(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menu_name_array:[Ljava/lang/String;

    const/4 v1, 0x2

    aput-object p1, v0, v1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->main_top_title:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method protected dailyToAll()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/at;->c(I)V

    :cond_0
    return-void
.end method

.method public bridge synthetic deleteCache()V
    .locals 0

    invoke-super {p0}, Lcom/waiqin365/base/login/a;->deleteCache()V

    return-void
.end method

.method public bridge synthetic getTv_menu0()Landroid/widget/TextView;
    .locals 1

    invoke-super {p0}, Lcom/waiqin365/base/login/a;->getTv_menu0()Landroid/widget/TextView;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic getTv_menu1()Landroid/widget/TextView;
    .locals 1

    invoke-super {p0}, Lcom/waiqin365/base/login/a;->getTv_menu1()Landroid/widget/TextView;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic getTv_menu2()Landroid/widget/TextView;
    .locals 1

    invoke-super {p0}, Lcom/waiqin365/base/login/a;->getTv_menu2()Landroid/widget/TextView;

    move-result-object v0

    return-object v0
.end method

.method public getUnreadMsgCountTotal()I
    .locals 5

    const/4 v0, 0x0

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMChatManager;->getUnreadMsgsCount()I

    move-result v0

    :cond_0
    int-to-long v0, v0

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v2

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/db/imnotice/f;->g(Ljava/lang/String;)J

    move-result-wide v2

    add-long/2addr v0, v2

    long-to-int v0, v0

    return v0
.end method

.method protected hideFunctionTaste()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->tvTaste:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->setPhoneBind()V

    return-void
.end method

.method public initLayout()V
    .locals 1

    invoke-super {p0}, Lcom/waiqin365/base/login/a;->initLayout()V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->setBaseTitle()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/a;->b:Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->customLoginMemuItems:Ljava/util/ArrayList;

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isChatActivity:Z

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->initBottomMenu(I)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->loadAllViewLayout()V

    return-void

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public loadAllViewLayout()V
    .locals 11

    const v10, 0x7f0c089b

    const/4 v9, 0x1

    const/4 v8, 0x0

    const/4 v7, 0x0

    const/16 v6, 0x8

    const v0, 0x7f0c045d

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->notRegistIv:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->notRegistIv:Landroid/widget/ImageView;

    invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mainListViews:Ljava/util/List;

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getLayoutInflater()Landroid/view/LayoutInflater;

    move-result-object v1

    const v0, 0x7f0300b4

    invoke-virtual {v1, v0, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    const v0, 0x7f0c0465

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->statusbar:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->statusbar:Landroid/widget/RelativeLayout;

    new-instance v3, Lcom/waiqin365/base/login/aw;

    invoke-direct {v3, p0}, Lcom/waiqin365/base/login/aw;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c04a4

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RatingBar;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->ratingBar:Landroid/widget/RatingBar;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->ratingBar:Landroid/widget/RatingBar;

    invoke-virtual {v0, v9}, Landroid/widget/RatingBar;->setIsIndicator(Z)V

    const v0, 0x7f0c04a6

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dailyCountTv:Landroid/widget/TextView;

    const v0, 0x7f0c04a9

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->visitNumTv:Landroid/widget/TextView;

    const v0, 0x7f0c04ab

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->visitCountTv:Landroid/widget/TextView;

    const v0, 0x7f0c0464

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->newstatusbar:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->newstatusbar:Landroid/widget/RelativeLayout;

    new-instance v3, Lcom/waiqin365/base/login/ax;

    invoke-direct {v3, p0}, Lcom/waiqin365/base/login/ax;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c049c

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->progressImg:Landroid/widget/ImageView;

    const v0, 0x7f0c049d

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->positionImg:Landroid/widget/ImageView;

    const v0, 0x7f0c049f

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->hintTextTv:Landroid/widget/TextView;

    const v0, 0x7f0c04a0

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->clickTextTv:Landroid/widget/TextView;

    const-string/jumbo v0, "showmyachieve"

    invoke-static {v0}, Lcom/waiqin365/base/login/d/g;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v3, "false"

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->statusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->newstatusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :goto_0
    const v0, 0x7f0c0463

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0460

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitTv:Landroid/widget/TextView;

    const v0, 0x7f0c0461

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->gpscancelImg:Landroid/widget/ImageView;

    const-string/jumbo v0, "5"

    const-string/jumbo v3, "_loginType"

    const-string/jumbo v4, ""

    invoke-static {p0, v3, v4}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    new-instance v3, Lcom/waiqin365/base/login/ay;

    invoke-direct {v3, p0}, Lcom/waiqin365/base/login/ay;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_0
    const v0, 0x7f0c0466

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragReorderGridView:Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragReorderGridView:Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;

    const v3, 0x7f0808a7

    invoke-virtual {p0, v3}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x3

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v3

    invoke-virtual {v0, v3}, Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;->setNumColumns(I)V

    new-instance v0, Lcom/waiqin365/base/login/mainview/draggridview/a;

    iget-object v3, p0, Lcom/waiqin365/base/login/LoginMainActivity;->item0:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v3}, Lcom/waiqin365/base/login/mainview/draggridview/a;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragGridViewAdapter:Lcom/waiqin365/base/login/mainview/draggridview/a;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragReorderGridView:Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;

    iget-object v3, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragGridViewAdapter:Lcom/waiqin365/base/login/mainview/draggridview/a;

    invoke-virtual {v0, v3}, Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragReorderGridView:Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;

    new-instance v3, Lcom/waiqin365/base/login/az;

    invoke-direct {v3, p0}, Lcom/waiqin365/base/login/az;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v3}, Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;->setDragReorderListener(Lcom/waiqin365/base/login/mainview/draggridview/i;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragReorderGridView:Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;

    new-instance v3, Lcom/waiqin365/base/login/ba;

    invoke-direct {v3, p0}, Lcom/waiqin365/base/login/ba;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v3}, Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragReorderGridView:Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;

    const v3, 0x7f0c0378

    new-instance v4, Lcom/waiqin365/base/login/bb;

    invoke-direct {v4, p0}, Lcom/waiqin365/base/login/bb;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v3, v4}, Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;->a(ILcom/waiqin365/base/login/mainview/draggridview/j;)V

    const v0, 0x7f0c0467

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v3, Lcom/waiqin365/base/login/bc;

    invoke-direct {v3, p0}, Lcom/waiqin365/base/login/bc;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mainListViews:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const v0, 0x7f03015f

    invoke-virtual {v1, v0, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    const-string/jumbo v0, "input_method"

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->inputMethodManager:Landroid/view/inputmethod/InputMethodManager;

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v3, 0x7f030183

    invoke-virtual {v0, v3, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v4, 0x7f03014a

    invoke-virtual {v0, v4, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v4

    const v0, 0x7f0c0791

    invoke-virtual {v4, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->errorItem:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c05fb

    invoke-virtual {v4, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->iv_neterror:Landroid/widget/ImageView;

    const v0, 0x7f0c0792

    invoke-virtual {v4, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->errorText:Landroid/widget/TextView;

    const v0, 0x7f0c0793

    invoke-virtual {v4, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->tv_reconnect:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->errorItem:Landroid/widget/RelativeLayout;

    new-instance v5, Lcom/waiqin365/base/login/bd;

    invoke-direct {v5, p0}, Lcom/waiqin365/base/login/bd;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v5}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0201

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    invoke-virtual {v0, v3}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->addHeaderView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    invoke-virtual {v0, v4}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->addHeaderView(Landroid/view/View;)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    new-instance v0, Lcom/waiqin365/lightapp/im/adapter/c;

    iget-object v3, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    invoke-direct {v0, p0, v9, v3}, Lcom/waiqin365/lightapp/im/adapter/c;-><init>(Landroid/content/Context;ILjava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->adapter:Lcom/waiqin365/lightapp/im/adapter/c;

    const v0, 0x7f03019a

    invoke-virtual {v1, v0, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iget-object v3, p0, Lcom/waiqin365/base/login/LoginMainActivity;->listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    invoke-virtual {v3, v0}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->addFooterView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    iget-object v3, p0, Lcom/waiqin365/base/login/LoginMainActivity;->adapter:Lcom/waiqin365/lightapp/im/adapter/c;

    invoke-virtual {v0, v3}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setAdapter(Landroid/widget/ListAdapter;)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->refresh()V

    new-instance v0, Lcom/waiqin365/base/login/bf;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/login/bf;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->creator:Lcom/baoyz/swipemenulistview/c;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    iget-object v3, p0, Lcom/waiqin365/base/login/LoginMainActivity;->creator:Lcom/baoyz/swipemenulistview/c;

    invoke-virtual {v0, v3}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setMenuCreator(Lcom/baoyz/swipemenulistview/c;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    new-instance v3, Lcom/waiqin365/base/login/bg;

    invoke-direct {v3, p0}, Lcom/waiqin365/base/login/bg;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v3}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setMenuRefresh(Lcom/baoyz/swipemenulistview/i;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    new-instance v3, Lcom/waiqin365/base/login/bh;

    invoke-direct {v3, p0}, Lcom/waiqin365/base/login/bh;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v3}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setOnMenuItemClickListener(Lcom/baoyz/swipemenulistview/g;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    new-instance v3, Lcom/waiqin365/base/login/bi;

    invoke-direct {v3, p0}, Lcom/waiqin365/base/login/bi;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v3}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    new-instance v3, Lcom/waiqin365/base/login/bj;

    invoke-direct {v3, p0}, Lcom/waiqin365/base/login/bj;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v3}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->listView:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    new-instance v3, Lcom/waiqin365/base/login/bk;

    invoke-direct {v3, p0}, Lcom/waiqin365/base/login/bk;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v3}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setOnItemLongClickListener(Landroid/widget/AdapterView$OnItemLongClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mainListViews:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->a(Landroid/app/Activity;)Landroid/view/View;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mainListViews:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const v0, 0x7f03018c

    invoke-virtual {v1, v0, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0874

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->headIV:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0876

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->nameTV:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0877

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->companyTV:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c089a

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->tvTaste:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0878

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->vipIV:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0889

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->approveStateTV:Landroid/widget/TextView;

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->moreViewInit()V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0873

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0879

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const-string/jumbo v1, "showachieve"

    invoke-static {v1}, Lcom/waiqin365/base/login/d/g;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, "true"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c087c

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0880

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0886

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const-string/jumbo v1, "showauthmobile"

    invoke-static {v1}, Lcom/waiqin365/base/login/d/g;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, "true"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v2, 0x7f0c0885

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    invoke-virtual {v1, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c088d

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const-string/jumbo v1, "showforgetpass"

    invoke-static {v1}, Lcom/waiqin365/base/login/d/g;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, "true"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_3

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v2, 0x7f0c088c

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    invoke-virtual {v1, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0890

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/base/login/mainview/a;->c()Z

    move-result v1

    if-eqz v1, :cond_9

    invoke-virtual {v0, v7}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :goto_2
    const-string/jumbo v0, "5"

    const-string/jumbo v1, "_loginType"

    const-string/jumbo v2, ""

    invoke-static {p0, v1, v2}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0893

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v7}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0896

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string/jumbo v1, "trial_industry_name"

    const-string/jumbo v2, ""

    invoke-static {p0, v1, v2}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c089c

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0897

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    sget-object v1, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    sget-object v2, Lcom/fiberhome/gaea/client/c/b;->d:Ljava/util/Locale;

    invoke-virtual {v1, v2}, Ljava/util/Locale;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_a

    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    invoke-virtual {v0, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c089f

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->headIV:Landroid/widget/ImageView;

    new-instance v1, Lcom/waiqin365/base/login/bl;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/bl;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0883

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->xiaoxiTXLabel:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    const v1, 0x7f0c0884

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->xiaoxiNextNewTV:Landroid/widget/TextView;

    const-string/jumbo v0, "first_new_msg_tx_next"

    invoke-static {p0, v0, v9}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_c

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->xiaoxiNextNewTV:Landroid/widget/TextView;

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_4
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mainListViews:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v0, Lcom/waiqin365/base/login/a/a;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mainListViews:Ljava/util/List;

    invoke-direct {v0, v1, p0}, Lcom/waiqin365/base/login/a/a;-><init>(Ljava/util/List;Landroid/app/Activity;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mainVpAdapter:Lcom/waiqin365/base/login/a/a;

    const v0, 0x7f0c044d

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/support/v4/view/ViewPager;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->viewPager:Landroid/support/v4/view/ViewPager;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->viewPager:Landroid/support/v4/view/ViewPager;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mainVpAdapter:Lcom/waiqin365/base/login/a/a;

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isChatActivity:Z

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->viewPager:Landroid/support/v4/view/ViewPager;

    invoke-virtual {v0, v9}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    :cond_5
    return-void

    :cond_6
    const-string/jumbo v0, "0"

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v3

    invoke-virtual {v3, p0}, Lcom/waiqin365/base/login/mainview/a;->e(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->statusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v7}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->newstatusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->statusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->newstatusbar:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v7}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_8
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->softforbitRelative:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v7}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_1

    :cond_9
    invoke-virtual {v0, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto/16 :goto_2

    :cond_a
    invoke-virtual {v0, v7}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->moreView:Landroid/view/View;

    invoke-virtual {v1, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v7}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const-string/jumbo v0, "functionTaste"

    invoke-static {p0, v0, v9}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_b

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->tvTaste:Landroid/widget/TextView;

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_3

    :cond_b
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->tvTaste:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_3

    :cond_c
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->xiaoxiNextNewTV:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_4
.end method

.method public loadViewLayout(I)V
    .locals 2

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->viewPager:Landroid/support/v4/view/ViewPager;

    invoke-virtual {v0, p1, v1}, Landroid/support/v4/view/ViewPager;->setCurrentItem(IZ)V

    if-nez p1, :cond_1

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->canSendMyAchieInfo:Z

    if-eqz v0, :cond_1

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->sendOneSucMyAchieReq()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const/4 v0, 0x1

    if-ne p1, v0, :cond_0

    new-instance v0, Lcom/waiqin365/base/login/bo;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/login/bo;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-static {p0, v1, v1, v0}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;ZZLcom/waiqin365/lightapp/kehu/c/l;)V

    goto :goto_0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 5

    const/4 v4, 0x1

    const/4 v1, 0x0

    const/4 v3, -0x1

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/base/login/a;->onActivityResult(IILandroid/content/Intent;)V

    const/16 v0, 0xfa1

    if-eq v0, p2, :cond_0

    const/16 v0, 0x1f40

    if-ne v0, p1, :cond_2

    :cond_0
    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->setPhoneBind()V

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->handleSoftInfoShow()V

    if-eqz p3, :cond_1

    const-string/jumbo v0, "bindsuc"

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-static {p0}, Lcom/waiqin365/base/login/fragment/a;->g(Landroid/app/Activity;)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    const/16 v0, 0x65

    if-ne v0, p2, :cond_4

    if-eqz p3, :cond_3

    const-string/jumbo v0, "isModify"

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->sendShortmenuModifyReq()V

    :cond_3
    iget v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menuIndex:I

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->updateShortCut()V

    goto :goto_0

    :cond_4
    const/16 v0, 0x1e

    if-ne v0, p2, :cond_5

    const-string/jumbo v0, "newinfolist"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->a(Ljava/util/ArrayList;)V

    goto :goto_0

    :cond_5
    sparse-switch p1, :sswitch_data_0

    goto :goto_0

    :sswitch_0
    if-ne p2, v3, :cond_1

    const-string/jumbo v0, "info_id"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "comment_time"

    invoke-virtual {p3, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v2

    invoke-virtual {v2, v0, v1}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Ljava/lang/String;Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/dailyreport/view/at;->a(Z)V

    goto :goto_0

    :sswitch_1
    if-eqz p3, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->headIV:Landroid/widget/ImageView;

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getPic(Landroid/view/View;)V

    goto :goto_0

    :sswitch_2
    if-eqz p3, :cond_1

    invoke-virtual {p3}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {p3}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startPhotoZoom(Landroid/net/Uri;)V

    goto :goto_0

    :sswitch_3
    if-ne p2, v3, :cond_1

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->savePicToView()V

    goto :goto_0

    :sswitch_4
    if-eqz p3, :cond_1

    if-ne v3, p2, :cond_1

    invoke-direct {p0, p3}, Lcom/waiqin365/base/login/LoginMainActivity;->setPicToView(Landroid/content/Intent;)V

    goto :goto_0

    :sswitch_5
    if-ne p2, v3, :cond_1

    if-eqz p3, :cond_1

    new-instance v0, Ljava/io/File;

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {p3}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/waiqin365/base/login/d/g;->a(Landroid/content/Context;Landroid/net/Uri;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-static {v0}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startPhotoZoom(Landroid/net/Uri;)V

    goto/16 :goto_0

    :sswitch_6
    if-ne p2, v3, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->finish()V

    goto/16 :goto_0

    :sswitch_7
    if-ne p2, v3, :cond_1

    const-string/jumbo v0, ""

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->showProgressDialogWithMessage(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->adapter:Lcom/waiqin365/lightapp/im/adapter/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/c;->a()Ljava/util/List;

    move-result-object v0

    const-string/jumbo v1, "position"

    invoke-virtual {p3, v1, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/chat/EMConversation;

    invoke-static {}, Lcom/hyphenate/chat/EMClient;->getInstance()Lcom/hyphenate/chat/EMClient;

    move-result-object v1

    invoke-virtual {v1}, Lcom/hyphenate/chat/EMClient;->chatManager()Lcom/hyphenate/chat/EMChatManager;

    move-result-object v1

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->getUserName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0}, Lcom/hyphenate/chat/EMConversation;->isGroup()Z

    move-result v3

    invoke-virtual {v1, v2, v3}, Lcom/hyphenate/chat/EMChatManager;->deleteConversation(Ljava/lang/String;Z)Z

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->adapter:Lcom/waiqin365/lightapp/im/adapter/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/c;->notifyDataSetChanged()V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->updateUnreadLabel()V

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->dismissProgressDialog()V

    goto/16 :goto_0

    :sswitch_8
    if-ne p2, v3, :cond_1

    const-string/jumbo v0, ""

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->showProgressDialogWithMessage(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->imLogin()V

    goto/16 :goto_0

    :sswitch_9
    if-ne p2, v3, :cond_1

    if-eqz p3, :cond_1

    const-string/jumbo v0, "emps"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lez v2, :cond_1

    const-string/jumbo v2, ""

    move-object v3, v2

    move v2, v1

    :goto_1
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_7

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->g:Ljava/lang/String;

    if-eqz v1, :cond_6

    const-string/jumbo v4, "-1"

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->g:Ljava/lang/String;

    invoke-virtual {v4, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, " "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    :goto_2
    add-int/lit8 v2, v2, 0x1

    move-object v3, v1

    goto :goto_1

    :cond_6
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, "@"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, " "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto :goto_2

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/at;->a(Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_a
    if-ne p2, v3, :cond_1

    const-string/jumbo v0, "score"

    invoke-virtual {p3, v0, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    const-string/jumbo v2, "position"

    invoke-virtual {p3, v2, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v2

    if-lez v0, :cond_8

    if-ltz v2, :cond_8

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/at;->a(II)V

    goto/16 :goto_0

    :cond_8
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/at;->a(Z)V

    goto/16 :goto_0

    :sswitch_b
    if-ne p2, v3, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->a()V

    goto/16 :goto_0

    :sswitch_c
    if-ne p2, v3, :cond_1

    const-string/jumbo v0, "atteIndex"

    invoke-virtual {p3, v0, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    if-lez v0, :cond_1

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->b(I)V

    goto/16 :goto_0

    :sswitch_d
    if-ne p2, v3, :cond_1

    const-string/jumbo v0, "userid"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "atteposition"

    invoke-virtual {p3, v1, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v2, v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/at;->a(Ljava/lang/String;I)V

    goto/16 :goto_0

    :sswitch_e
    if-ne p2, v3, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->loginDailyLay:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/dailyreport/view/at;->a(Z)V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0xa -> :sswitch_0
        0x14 -> :sswitch_9
        0x32 -> :sswitch_a
        0x3c -> :sswitch_b
        0x3d -> :sswitch_c
        0x46 -> :sswitch_d
        0x12e -> :sswitch_7
        0x130 -> :sswitch_8
        0x3e8 -> :sswitch_2
        0x3e9 -> :sswitch_3
        0x3ea -> :sswitch_4
        0x3eb -> :sswitch_5
        0x3ec -> :sswitch_1
        0x1012 -> :sswitch_e
        0x2328 -> :sswitch_6
    .end sparse-switch
.end method

.method public bridge synthetic onClick(Landroid/view/View;)V
    .locals 0

    invoke-super {p0, p1}, Lcom/waiqin365/base/login/a;->onClick(Landroid/view/View;)V

    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 6

    const/4 v5, 0x1

    const/4 v4, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/base/login/a;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getApplication()Landroid/app/Application;

    move-result-object v0

    check-cast v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;

    iget-object v0, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getApplication()Landroid/app/Application;

    move-result-object v0

    check-cast v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;

    iget-object v0, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "chat_is_up"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightapp/im/a;->a:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "disturb"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightapp/im/a;->b:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "daibanrenwu_chatid"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightapp/im/a;->i:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "tongzhigonggao_chatid"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightapp/im/a;->j:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "xiaomishu_chatid"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightapp/im/a;->h:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "wq365_chatid"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightapp/im/a;->k:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "waiqin365kefu"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightapp/im/a;->l:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "managerhelp_chatid"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightapp/im/a;->m:Ljava/lang/String;

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->initHandler()V

    invoke-static {p0, v5}, Lcom/waiqin365/base/login/d/g;->a(Landroid/content/Context;Z)V

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->setUpIM()V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;

    iget-object v0, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_2

    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/base/login/LoginMainActivity;

    if-eqz v0, :cond_2

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menu_name_array:[Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f08017e

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v0, v4

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menu_name_array:[Ljava/lang/String;

    aget-object v0, v0, v4

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->titleText:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menu_name_array:[Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f08017f

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v0, v5

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menu_name_array:[Ljava/lang/String;

    const/4 v1, 0x2

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f080172

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v0, v1

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->menu_name_array:[Ljava/lang/String;

    const/4 v1, 0x3

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f080189

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v0, v1

    const v0, 0x7f0300b1

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->registerBoradcastReceiver()V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "mydatainfoObj"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/c/c;

    invoke-direct {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->saveBaseInfo(Lcom/waiqin365/base/login/c/c;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->r(Landroid/content/Context;)V

    sput-boolean v4, Lcom/fiberhome/gaea/client/base/ExmobiApp;->k:Z

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "chatActivity"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isChatActivity:Z

    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isChatActivity:Z

    if-eqz v0, :cond_1

    sput-boolean v5, Lcom/fiberhome/gaea/client/base/ExmobiApp;->k:Z

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "messageFromId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->messageFromId:Ljava/lang/String;

    :cond_1
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->v(Landroid/content/Context;)Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->item0:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->initLayout()V

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->handleLoginEvt()V

    invoke-static {}, Lcom/waiqin365/lightapp/im/utils/f;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    :goto_0
    return-void

    :cond_2
    const-string/jumbo v0, "login main\u8d44\u6e90\u88ab\u56de\u6536"

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/base/login/d/g;->a(Landroid/app/Activity;)V

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 5

    const/4 v2, 0x0

    sget v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->h:I

    if-nez v0, :cond_0

    sget-boolean v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->i:Z

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightwork/tracker/c/a/a;

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v1

    sget v3, Lcom/waiqin365/lightwork/tracker/c/a/a;->f:I

    new-instance v4, Ljava/util/Date;

    invoke-direct {v4}, Ljava/util/Date;-><init>()V

    invoke-direct {v0, v1, v3, v4}, Lcom/waiqin365/lightwork/tracker/c/a/a;-><init>(Landroid/content/Context;ILjava/util/Date;)V

    new-instance v1, Lcom/waiqin365/lightwork/tracker/c/b;

    const/4 v3, 0x0

    invoke-direct {v1, v3, v0}, Lcom/waiqin365/lightwork/tracker/c/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightwork/tracker/c/a/b;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightwork/tracker/c/b;->start()V

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->unregisterBoradcastReceiver()V

    invoke-static {}, Lcom/waiqin365/lightapp/im/utils/f;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    :try_start_0
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;

    iget-object v3, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->g:Ljava/util/ArrayList;

    if-eqz v3, :cond_3

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_3

    move v1, v2

    :goto_0
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_2

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    :cond_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_2
    invoke-virtual {v3}, Ljava/util/ArrayList;->clear()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_3
    :goto_1
    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->isExitLogin:Z

    if-nez v0, :cond_4

    invoke-static {}, Landroid/os/Process;->myPid()I

    move-result v0

    invoke-static {v0}, Landroid/os/Process;->killProcess(I)V

    const-string/jumbo v0, "activity"

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/ActivityManager;

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getPackageName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/ActivityManager;->restartPackage(Ljava/lang/String;)V

    invoke-static {v2}, Ljava/lang/System;->exit(I)V

    :cond_4
    invoke-super {p0}, Lcom/waiqin365/base/login/a;->onDestroy()V

    return-void

    :catch_0
    move-exception v0

    goto :goto_1
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 4

    const/4 v0, 0x4

    if-ne p1, v0, :cond_1

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mExitTime:J

    sub-long/2addr v0, v2

    const-wide/16 v2, 0x7d0

    cmp-long v0, v0, v2

    if-lez v0, :cond_0

    const v0, 0x7f0807cd

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mExitTime:J

    :goto_0
    const/4 v0, 0x1

    :goto_1
    return v0

    :cond_0
    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "android.intent.action.MAIN"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v1, 0x10000000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    const-string/jumbo v1, "android.intent.category.HOME"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    :cond_1
    invoke-super {p0, p1, p2}, Lcom/waiqin365/base/login/a;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_1
.end method

.method protected onNewIntent(Landroid/content/Intent;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/base/login/a;->onNewIntent(Landroid/content/Intent;)V

    const/high16 v0, 0x4000000

    invoke-virtual {p1}, Landroid/content/Intent;->getFlags()I

    move-result v1

    and-int/2addr v0, v1

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->deleteCache()V

    :cond_0
    return-void
.end method

.method public onPause()V
    .locals 0

    invoke-super {p0}, Lcom/waiqin365/base/login/a;->onPause()V

    invoke-static {p0}, Lcom/umeng/analytics/MobclickAgent;->onPause(Landroid/content/Context;)V

    return-void
.end method

.method protected onResume()V
    .locals 10

    const-wide/16 v8, 0x0

    const/16 v6, 0x2d0

    invoke-super {p0}, Lcom/waiqin365/base/login/a;->onResume()V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;

    iget-object v0, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->g:Ljava/util/ArrayList;

    if-eqz v0, :cond_4

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_4

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/base/login/LoginMainActivity;

    if-eqz v0, :cond_4

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/e;->a(Landroid/app/Activity;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->errorItem:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-virtual {v0}, Landroid/os/Handler;->obtainMessage()Landroid/os/Message;

    move-result-object v0

    const/16 v1, 0x135

    iput v1, v0, Landroid/os/Message;->what:I

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    :cond_0
    :goto_0
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->updateUnreadLabel()V

    invoke-static {p0}, Lcom/umeng/analytics/MobclickAgent;->onResume(Landroid/content/Context;)V

    const-string/jumbo v0, "login_save_time"

    invoke-static {p0, v0, v8, v9}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;J)J

    move-result-wide v0

    const-string/jumbo v2, "login_save_interval"

    invoke-static {v6}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-static {p0, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    sub-long v0, v4, v0

    invoke-static {v2, v6}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v3

    mul-int/lit8 v3, v3, 0x3c

    mul-int/lit16 v3, v3, 0x3e8

    int-to-long v4, v3

    cmp-long v0, v0, v4

    if-lez v0, :cond_6

    const-string/jumbo v0, "login_save_time"

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    invoke-static {p0, v0, v4, v5}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;J)V

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->sendClientCheckRequest()V

    :cond_1
    :goto_1
    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->handleSoftInfoShow()V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->updateUnreadMessage()V

    const-string/jumbo v0, "login_sendallapp_time"

    invoke-static {p0, v0, v8, v9}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;J)J

    move-result-wide v0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    sub-long v0, v4, v0

    invoke-static {v2, v6}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v2

    mul-int/lit8 v2, v2, 0x3c

    mul-int/lit16 v2, v2, 0x3e8

    int-to-long v2, v2

    cmp-long v0, v0, v2

    if-lez v0, :cond_2

    const-string/jumbo v0, "login_sendallapp_time"

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-static {p0, v0, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;J)V

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->sendAllAppRequest()V

    :cond_2
    new-instance v0, Ljava/io/File;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/waiqin365/base/login/b/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    invoke-virtual {v2, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->sendShortmenuModifyReq()V

    :cond_3
    :goto_2
    return-void

    :cond_4
    const-string/jumbo v0, "onresume  login main\u8d44\u6e90\u88ab\u56de\u6536"

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/base/login/d/g;->a(Landroid/app/Activity;)V

    goto :goto_2

    :cond_5
    sget-boolean v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-virtual {v0}, Landroid/os/Handler;->obtainMessage()Landroid/os/Message;

    move-result-object v0

    const/16 v1, 0x134

    iput v1, v0, Landroid/os/Message;->what:I

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto/16 :goto_0

    :cond_6
    iget-boolean v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->canSendMyAchieInfo:Z

    if-eqz v0, :cond_1

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->sendOneSucMyAchieReq()V

    goto :goto_1
.end method

.method protected openContact(Landroid/view/View;)V
    .locals 2

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    return-void
.end method

.method public bridge synthetic popAtteGuide()V
    .locals 0

    invoke-super {p0}, Lcom/waiqin365/base/login/a;->popAtteGuide()V

    return-void
.end method

.method public refresh()V
    .locals 2

    sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;

    const-string/jumbo v1, "================================refresh"

    invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    if-eqz v0, :cond_1

    sget-boolean v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->k:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->conversationList:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/waiqin365/base/login/bs;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/bs;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    :cond_1
    return-void
.end method

.method public registerBoradcastReceiver()V
    .locals 2

    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    const-string/jumbo v1, "START_CAMERA"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string/jumbo v1, "START_PHOTO"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string/jumbo v1, "FRESH_DATA_ICON"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string/jumbo v1, "FRESH_DOUBLE_MENU"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string/jumbo v1, "NOTALLOW_LOC"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    return-void
.end method

.method public bridge synthetic showMsgTXGuide(Landroid/view/View;)V
    .locals 0

    invoke-super {p0, p1}, Lcom/waiqin365/base/login/a;->showMsgTXGuide(Landroid/view/View;)V

    return-void
.end method

.method public showNotification(Ljava/lang/String;Lcom/hyphenate/chat/EMMessage;)V
    .locals 8

    const/4 v7, 0x1

    const-string/jumbo v0, "notification"

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/NotificationManager;

    const v2, 0x7f020450

    const v1, 0x7f080197

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    new-instance v1, Landroid/content/Intent;

    const-class v4, Lcom/waiqin365/lightapp/xgpush/receiver/LocalPushReceiver;

    invoke-direct {v1, p0, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v4, "messageType"

    const-string/jumbo v5, "chat"

    invoke-virtual {v1, v4, v5}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v4, "messageFromId"

    invoke-virtual {p2}, Lcom/hyphenate/chat/EMMessage;->getFrom()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v4, v5}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;

    move-result-object v5

    iget-object v5, v5, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, "com.waiqin.lightapp.xgpush.openpage"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    const/4 v4, 0x0

    const/high16 v5, 0x8000000

    invoke-static {p0, v4, v1, v5}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v4

    const-string/jumbo v1, ""

    const-string/jumbo v1, ""

    invoke-virtual {p2}, Lcom/hyphenate/chat/EMMessage;->getFrom()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v5, "_"

    invoke-virtual {v1, v5}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    array-length v5, v1

    if-le v5, v7, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v5

    invoke-static {v5}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v5

    aget-object v1, v1, v7

    invoke-virtual {v5, v1}, Lcom/waiqin365/base/db/offlinedata/m;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_0
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const v5, 0x7f08068c

    invoke-virtual {p0, v5}, Lcom/waiqin365/base/login/LoginMainActivity;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    new-instance v5, Landroid/app/Notification$Builder;

    invoke-direct {v5, p0}, Landroid/app/Notification$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v5, v2}, Landroid/app/Notification$Builder;->setSmallIcon(I)Landroid/app/Notification$Builder;

    move-result-object v5

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v6

    invoke-static {v6, v2}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v2

    invoke-virtual {v5, v2}, Landroid/app/Notification$Builder;->setLargeIcon(Landroid/graphics/Bitmap;)Landroid/app/Notification$Builder;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/app/Notification$Builder;->setTicker(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/app/Notification$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;

    move-result-object v2

    invoke-virtual {v2, v1}, Landroid/app/Notification$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;

    move-result-object v1

    invoke-virtual {v1, v4}, Landroid/app/Notification$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/Notification$Builder;->getNotification()Landroid/app/Notification;

    move-result-object v1

    iget v2, v1, Landroid/app/Notification;->flags:I

    or-int/lit8 v2, v2, 0x10

    iput v2, v1, Landroid/app/Notification;->flags:I

    iput-object v4, v1, Landroid/app/Notification;->contentIntent:Landroid/app/PendingIntent;

    const/16 v2, 0x1388

    iput v2, v1, Landroid/app/Notification;->ledOnMS:I

    iput v7, v1, Landroid/app/Notification;->ledARGB:I

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->c()Lcom/fiberhome/gaea/client/c/c;

    move-result-object v2

    iget-object v2, v2, Lcom/fiberhome/gaea/client/c/c;->a:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    packed-switch v2, :pswitch_data_0

    iput v7, v1, Landroid/app/Notification;->defaults:I

    :goto_1
    const/16 v2, 0x7e0

    invoke-virtual {v0, v2, v1}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V

    return-void

    :cond_0
    invoke-virtual {p2}, Lcom/hyphenate/chat/EMMessage;->getFrom()Ljava/lang/String;

    move-result-object v1

    goto :goto_0

    :pswitch_0
    const/4 v2, 0x2

    iput v2, v1, Landroid/app/Notification;->defaults:I

    goto :goto_1

    :pswitch_1
    iput v7, v1, Landroid/app/Notification;->defaults:I

    goto :goto_1

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public showlightWallPop()V
    .locals 7

    const/4 v6, -0x1

    const-string/jumbo v0, "layout_inflater"

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f030199

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->lightWallView:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->lightWallView:Landroid/view/View;

    const v1, 0x7f0c08be

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->lightWallIV:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->lightWallView:Landroid/view/View;

    const v1, 0x7f0c08c0

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->lightWallView:Landroid/view/View;

    const v2, 0x7f0c08bf

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v3, Lcom/fiberhome/gaea/client/b/a/a;->f:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "/"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "lightwall.jpg"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    new-instance v3, Ljava/io/File;

    invoke-direct {v3, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3}, Ljava/io/File;->exists()Z

    move-result v3

    if-eqz v3, :cond_0

    new-instance v3, Lcom/waiqin365/base/login/cd;

    invoke-direct {v3, p0, v2}, Lcom/waiqin365/base/login/cd;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;Ljava/lang/String;)V

    new-instance v4, Landroid/os/Handler;

    invoke-direct {v4}, Landroid/os/Handler;-><init>()V

    new-instance v5, Lcom/waiqin365/base/login/ce;

    invoke-direct {v5, p0, v2, v3}, Lcom/waiqin365/base/login/ce;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;Ljava/lang/String;Lcom/squareup/picasso/Transformation;)V

    const-wide/16 v2, 0x1f4

    invoke-virtual {v4, v5, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_0
    new-instance v2, Lcom/waiqin365/base/login/cf;

    invoke-direct {v2, p0}, Lcom/waiqin365/base/login/cf;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v1, Lcom/waiqin365/base/login/au;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/au;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Landroid/widget/PopupWindow;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->lightWallView:Landroid/view/View;

    invoke-direct {v0, v1, v6, v6}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->lightWallPop:Landroid/widget/PopupWindow;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->lightWallPop:Landroid/widget/PopupWindow;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    return-void
.end method

.method public startPhotoZoom(Landroid/net/Uri;)V
    .locals 5

    const/16 v4, 0x96

    const/4 v3, 0x1

    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "com.android.camera.action.CROP"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string/jumbo v1, "image/*"

    invoke-virtual {v0, p1, v1}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "crop"

    const-string/jumbo v2, "true"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "aspectX"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v1, "aspectY"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v1, "outputX"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v1, "outputY"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v1, "return-data"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const/16 v1, 0x3ea

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/LoginMainActivity;->overridePendingTransition(II)V

    return-void
.end method

.method public unregisterBoradcastReceiver()V
    .locals 1

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->msgReceiver:Lcom/waiqin365/base/login/cr;

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->ackMessageReceiver:Landroid/content/BroadcastReceiver;

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->offlineMessageReceiver:Landroid/content/BroadcastReceiver;

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->cmdMessageReceiver:Landroid/content/BroadcastReceiver;

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/LoginMainActivity;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 2

    const-string/jumbo v0, "updateUnreadMessage"

    invoke-static {p2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->updateUnreadMessage()V

    :goto_0
    return-void

    :cond_0
    const-string/jumbo v0, "updateXMSMessageReadStatus"

    invoke-static {p2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->updateXMSMessageReadStatus()V

    :cond_1
    const-string/jumbo v0, "updateALMessageReadStatus"

    invoke-static {p2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-direct {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->updateALMessageReadStatus()V

    :cond_2
    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->refresh()V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->updateUnreadLabel()V

    goto :goto_0
.end method

.method protected updateGroup(Ljava/lang/String;Z)V
    .locals 2

    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/waiqin365/base/login/bu;

    invoke-direct {v1, p0, p1, p2}, Lcom/waiqin365/base/login/bu;-><init>(Lcom/waiqin365/base/login/LoginMainActivity;Ljava/lang/String;Z)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method public updateShortCut()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragGridViewAdapter:Lcom/waiqin365/base/login/mainview/draggridview/a;

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->v(Landroid/content/Context;)Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->item0:Ljava/util/ArrayList;

    new-instance v0, Lcom/waiqin365/base/login/mainview/draggridview/a;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->item0:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/base/login/mainview/draggridview/a;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragGridViewAdapter:Lcom/waiqin365/base/login/mainview/draggridview/a;

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragReorderGridView:Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragGridViewAdapter:Lcom/waiqin365/base/login/mainview/draggridview/a;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragReorderGridView:Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->dragGridViewAdapter:Lcom/waiqin365/base/login/mainview/draggridview/a;

    invoke-virtual {v1}, Lcom/waiqin365/base/login/mainview/draggridview/a;->getCount()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/draggridview/DragReorderGridView;->setSelection(I)V

    :cond_0
    return-void
.end method

.method public updateUnreadLabel()V
    .locals 4

    const/4 v3, 0x0

    invoke-virtual {p0}, Lcom/waiqin365/base/login/LoginMainActivity;->getUnreadMsgCountTotal()I

    move-result v1

    if-lez v1, :cond_1

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    const/16 v2, 0x64

    if-le v1, v2, :cond_0

    const-string/jumbo v0, "99+"

    :cond_0
    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->unreadLabel:Landroid/widget/TextView;

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->unreadLabel:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_0
    const/4 v0, 0x0

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    invoke-static {v0, v3, v2, v1, v1}, Lcom/a/a;->a(Landroid/app/Notification;ILandroid/content/Context;II)V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/base/login/LoginMainActivity;->unreadLabel:Landroid/widget/TextView;

    const/4 v2, 0x4

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0
.end method

.method public updateUnreadMessage()V
    .locals 3

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/LoginMainActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/xgpush/a/a/e;

    invoke-direct {v1, v0}, Lcom/waiqin365/lightapp/xgpush/a/a/e;-><init>(Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/xgpush/a/b;

    iget-object v2, p0, Lcom/waiqin365/base/login/LoginMainActivity;->handler:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/xgpush/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/xgpush/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/xgpush/a/b;->start()V

    return-void
.end method
